diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-29 10:23:09 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-29 10:23:09 +0000 |
commit | 4d2140ce0589c5c7ce33683211887468f82292ce (patch) | |
tree | 3615c35c4ce368800827a9b46b99d7557144853d /modules.c | |
parent | 3308c71ec8b5b8f61af4747a8cf9a651daf69c6d (diff) | |
download | rsyslog-4d2140ce0589c5c7ce33683211887468f82292ce.tar.gz rsyslog-4d2140ce0589c5c7ce33683211887468f82292ce.tar.xz rsyslog-4d2140ce0589c5c7ce33683211887468f82292ce.zip |
- bugfix: accidently set debug option in 3.12.5 reset to production This
option prevented dlclose() to be called. It had no real bad effects, as
the modules were otherwise correctly deinitialized and dlopen()
supports multiple opens of the same module without any memory
footprint.
- removed --enable-mudflap, added --enable-valgrind ./configure setting
Diffstat (limited to 'modules.c')
-rw-r--r-- | modules.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -189,10 +189,10 @@ static void moduleDestruct(modInfo_t *pThis) if(pThis->pszName != NULL) free(pThis->pszName); if(pThis->pModHdlr != NULL) { -# if 0 - dlclose(pThis->pModHdlr); +# ifdef VALGRIND +# warning "dlclose disabled for valgrind" # else -# warning "dlclose disabled for valgrind, re-enable before release" + dlclose(pThis->pModHdlr); # endif } |