diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-03 04:10:17 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-03 04:35:12 +0100 |
commit | ea4555100a9079f1729afabdd7046d1826b052fd (patch) | |
tree | 1f492c201b7abee66f9646e59ee56119429d3bdb /jvmfwk | |
parent | 39f821c9624604412e0f5a91a4390ab8853861e1 (diff) |
coverity#705669: fix memory leak
Change-Id: Ib99c5e5c4a8c3c6efd0ff0665c73b241790b314b
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx b/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx index bbffc8c3983f..c94b8b41f498 100644 --- a/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx +++ b/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx @@ -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()); |