coverity#705669: fix memory leak

Change-Id: Ib99c5e5c4a8c3c6efd0ff0665c73b241790b314b
This commit is contained in:
Markus Mohrhard
2013-03-03 04:10:17 +01:00
parent 39f821c962
commit ea4555100a

View File

@@ -109,7 +109,10 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
aVendor != "BEA Systems, Inc." &&
aVendor != "Free Software Foundation, Inc." &&
aVendor != "The FreeBSD Foundation" )
{
jfw_freeJavaInfo(pInfo);
return 0;
}
rtl::OString sPaths = getLD_LIBRARY_PATH(pInfo->arVendorData);
fprintf(stdout, "%s\n", sPaths.getStr());