Kaydet (Commit) ea455510 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

coverity#705669: fix memory leak

Change-Id: Ib99c5e5c4a8c3c6efd0ff0665c73b241790b314b
üst 39f821c9
...@@ -109,7 +109,10 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) ...@@ -109,7 +109,10 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
aVendor != "BEA Systems, Inc." && aVendor != "BEA Systems, Inc." &&
aVendor != "Free Software Foundation, Inc." && aVendor != "Free Software Foundation, Inc." &&
aVendor != "The FreeBSD Foundation" ) aVendor != "The FreeBSD Foundation" )
{
jfw_freeJavaInfo(pInfo);
return 0; return 0;
}
rtl::OString sPaths = getLD_LIBRARY_PATH(pInfo->arVendorData); rtl::OString sPaths = getLD_LIBRARY_PATH(pInfo->arVendorData);
fprintf(stdout, "%s\n", sPaths.getStr()); fprintf(stdout, "%s\n", sPaths.getStr());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment