Fixed the dynamic DLL load code to use the correct API call to free the library.
This commit is contained in:
@@ -65,7 +65,7 @@ dynld_module(const char *name, dllimp_t *table)
|
|||||||
if (func == NULL) {
|
if (func == NULL) {
|
||||||
dynld_log("DynLd(\"%s\"): function '%s' not found!\n",
|
dynld_log("DynLd(\"%s\"): function '%s' not found!\n",
|
||||||
name, imp->name);
|
name, imp->name);
|
||||||
CloseHandle(h);
|
FreeLibrary(h);
|
||||||
return(NULL);
|
return(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user