Commit b3793342 authored by Alexandre Julliard's avatar Alexandre Julliard

Make sure to return an error if load_dll fails because the load order

is empty.
parent b58e1213
...@@ -960,7 +960,7 @@ static NTSTATUS load_dll( LPCSTR libname, DWORD flags, WINE_MODREF** pwm ) ...@@ -960,7 +960,7 @@ static NTSTATUS load_dll( LPCSTR libname, DWORD flags, WINE_MODREF** pwm )
DWORD found; DWORD found;
BOOL allocated_libdir = FALSE; BOOL allocated_libdir = FALSE;
static LPCSTR libdir = NULL; /* See above */ static LPCSTR libdir = NULL; /* See above */
NTSTATUS nts = STATUS_SUCCESS; NTSTATUS nts = STATUS_NO_SUCH_FILE;
*pwm = NULL; *pwm = NULL;
if ( !libname ) return STATUS_DLL_NOT_FOUND; /* FIXME ? */ if ( !libname ) return STATUS_DLL_NOT_FOUND; /* FIXME ? */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment