diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-24 15:09:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-24 15:09:41 +0000 |
commit | def94cc40ef9a9b3498032e24c178a6c3c74262e (patch) | |
tree | bf6be56fafeae0b06ff4a54044e2d6fc1e5e162b /jvmfwk | |
parent | 39ebf9c164962949509adf0752dabca2cbac072a (diff) |
coverity#705670 Resource leak
Change-Id: Ib89a580127d91e9d7a23b998df3cd100246bf289
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |