From 1156d11ef0bb2bc3d71ae9299656db4fed66f073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 13 Oct 2014 10:31:14 +0100 Subject: [PATCH] coverity#1066164 Resource leak Change-Id: I152f22728a8eeea65114fe102511940bccf40478 Signed-off-by: Stephan Bergmann --- jvmfwk/source/framework.cxx | 2 ++ 1 file changed, 2 insertions(+) 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) {