From def94cc40ef9a9b3498032e24c178a6c3c74262e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 24 Jan 2014 15:09:41 +0000 Subject: [PATCH] coverity#705670 Resource leak Change-Id: Ib89a580127d91e9d7a23b998df3cd100246bf289 --- jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx index 099ff835dc23..8310d794f625 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx @@ -614,6 +614,7 @@ javaPluginError jfw_plugin_startJavaVirtualMachine( fprintf(stderr,"[Java framework]sunjavaplugin" SAL_DLLEXTENSION "Java runtime library: %s does not export symbol %s !\n", sLib.getStr(), sSymbol.getStr()); + osl_unloadModule(moduleRt); return JFW_PLUGIN_E_VM_CREATION_FAILED; }