summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-13 10:31:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-10-13 17:45:13 +0200
commit1156d11ef0bb2bc3d71ae9299656db4fed66f073 (patch)
treeccede60ab2bb580d74dbccba203f87d8a6fd84e0
parente71b696ef6a50db0cb6a02e261b858e05fdb1a8f (diff)
coverity#1066164 Resource leak
Change-Id: I152f22728a8eeea65114fe102511940bccf40478 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--jvmfwk/source/framework.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx
index bdb75f7185fc..a604164bd741 100644
--- a/jvmfwk/source/framework.cxx
+++ b/jvmfwk/source/framework.cxx
@@ -732,6 +732,8 @@ javaFrameworkError SAL_CALL jfw_setSelectedJRE(JavaInfo const *pInfo)
//remember that the JRE was selected in this process
jfw::setJavaSelected();
}
+
+ jfw_freeJavaInfo(currentInfo);
}
catch (const jfw::FrameworkException& e)
{