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)
|
if (!module)
|
||||||
{
|
{
|
||||||
|
dll->dll = NULL;
|
||||||
if(error)
|
if(error)
|
||||||
general_error(ERROR_FFI, tag_object(last_error()));
|
general_error(ERROR_FFI, tag_object(last_error()));
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue