Skip to content
Snippets Groups Projects
Commit b3793342 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

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

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