diff options
Diffstat (limited to 'loader/elfdll.c')
-rw-r--r-- | loader/elfdll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loader/elfdll.c b/loader/elfdll.c index fe71cbd911..1927640505 100644 --- a/loader/elfdll.c +++ b/loader/elfdll.c @@ -213,7 +213,7 @@ static WINE_MODREF *ELFDLL_CreateModref(HMODULE hModule, LPCSTR path) /* Link MODREF into process list */ // EnterCriticalSection( &PROCESS_Current()->crit_section ); - + if(local_wm) { local_wm->next = (modref_list*) malloc(sizeof(modref_list)); @@ -227,7 +227,7 @@ static WINE_MODREF *ELFDLL_CreateModref(HMODULE hModule, LPCSTR path) local_wm = (modref_list*) malloc(sizeof(modref_list)); local_wm->next=local_wm->prev=NULL; local_wm->wm=wm; - } + } // LeaveCriticalSection( &PROCESS_Current()->crit_section ); return wm; @@ -263,7 +263,7 @@ WINE_MODREF *ELFDLL_LoadLibraryExA(LPCSTR path, DWORD flags) /* strcpy(soname, name); strcat(soname, "_elfdll_image"); image = (struct elfdll_image *)dlsym(dlhandle, soname); - if(!image) + if(!image) { ERR("Could not get elfdll image descriptor %s (%s)\n", soname, dlerror()); dlclose(dlhandle); |