summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.c b/modules.c
index 1ec72773..3aebdb64 100644
--- a/modules.c
+++ b/modules.c
@@ -189,7 +189,7 @@ static void moduleDestruct(modInfo_t *pThis)
if(pThis->pszName != NULL)
free(pThis->pszName);
if(pThis->pModHdlr != NULL) {
-# if 0
+# if 1
dlclose(pThis->pModHdlr);
# else
# warning "dlclose disabled for valgrind, re-enable before release"