]> git.sesse.net Git - vlc/commitdiff
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 8ca5b9b2e80c4fa9e62a2299c8f570db938850f6..291a8ef4bb21506eab727254c1fb5745883165f4 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