set dll->dll = NULL on failure in ffi_dllopen()
parent
3968d9f93b
commit
b34da424dd
|
@ -13,6 +13,7 @@ void ffi_dlopen (DLL *dll, bool error)
|
|||
|
||||
if (!module)
|
||||
{
|
||||
dll->dll = NULL;
|
||||
if(error)
|
||||
general_error(ERROR_FFI, tag_object(last_error()));
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue