Comments
Patch
@@ -1,3 +1,6 @@
+2011-08-23 Alexandre Lissy <alissy@mandriva.com>
+ * melt-runtime.c (melt_load_module_index): Correct handling of invalid
+ dlopen handle.
2011-08-05 Basile Starynkevitch <basile@starynkevitch.net>
* melt-runtime.c (melt_run_make_for_plugin): Don't use fullbinfile.
@@ -8764,11 +8764,11 @@ melt_load_module_index (const char*srcbase, const char*flavor)
MELTDESCR_REQUIRED(melt_gen_timestamp),
MELTDESCR_REQUIRED(melt_build_timestamp));
}
- else
- {
- debugeprintf ("melt_load_module_index invalid dlh %p sopath %s", dlh, sopath);
- dlclose (dlh), dlh = NULL;
- }
+ }
+ else
+ {
+ debugeprintf ("melt_load_module_index invalid dlh %p sopath %s", dlh, sopath);
+ dlclose (dlh), dlh = NULL;
}
end:
if (srcpath)