Release shared objects when not debugging, not the other way around
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 13 Oct 2007 11:14:17 +0000 (11:14 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 13 Oct 2007 11:14:17 +0000 (11:14 +0000)
src/modules/modules.c

index 8ca5b9b..291a8ef 100644 (file)
@@ -1518,7 +1518,7 @@ static void CloseModule( module_handle_t handle )
     FreeLibrary( handle );
 
 #elif defined(HAVE_DL_DLOPEN)
-# ifndef NDEBUG
+# ifdef NDEBUG
     dlclose( handle );
 # endif