coverity#705670 Resource leak

Change-Id: Ib89a580127d91e9d7a23b998df3cd100246bf289
This commit is contained in:
Caolán McNamara 2014-01-24 15:09:41 +00:00
parent 39ebf9c164
commit def94cc40e

View file

@ -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;
}