From f5d1559b51a5afb27686c1fce127ed8a590b0754 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 13 Feb 2014 11:05:32 -0800 Subject: [PATCH] Back out changelist 2026006 --- src/loadso/windows/SDL_sysloadso.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/loadso/windows/SDL_sysloadso.c b/src/loadso/windows/SDL_sysloadso.c index ac870d90b3ab2..4ff36af0e6165 100644 --- a/src/loadso/windows/SDL_sysloadso.c +++ b/src/loadso/windows/SDL_sysloadso.c @@ -55,8 +55,7 @@ SDL_GetLoadedObject(const char *sofile) /* if we got a handle, call LoadLibrary to get * it again with the ref count incremented. * We do this to match the dlopen version of this function */ - if( handle != NULL ) - handle = (void *)LoadLibrary( tstr ); + handle = (void *)LoadLibrary( tstr ); SDL_free(tstr);