diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-06-25 12:35:46 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-06-25 12:35:46 +0200 |
commit | bf85d81790a26945e404c6fdfdddad5eadbaa371 (patch) | |
tree | 5b9e97ea2c78e9450f58971ecae3234ba7eb3c85 /runtime/rsconf.h | |
parent | 4b150db338ae885ea3a3bb7cc5b5f84e2fc96e89 (diff) | |
download | rsyslog-bf85d81790a26945e404c6fdfdddad5eadbaa371.tar.gz rsyslog-bf85d81790a26945e404c6fdfdddad5eadbaa371.tar.xz rsyslog-bf85d81790a26945e404c6fdfdddad5eadbaa371.zip |
implemented freeCnf() module interface & fixed some mem leaks
The interface was actually not present in older versions, even though some modules
already used it. The implementation was now done, and not in 6.3/6.4
because the resulting memory leak was ultra-slim and the new interface
handling has some potential to seriously break things. Not the kind of
thing you want to add in late beta state, if avoidable.
Diffstat (limited to 'runtime/rsconf.h')
-rw-r--r-- | runtime/rsconf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/rsconf.h b/runtime/rsconf.h index 8715cf1b..484fec8c 100644 --- a/runtime/rsconf.h +++ b/runtime/rsconf.h @@ -97,8 +97,8 @@ struct defaults_s { struct cfgmodules_etry_s { cfgmodules_etry_t *next; modInfo_t *pMod; - /* the following data is input module specific */ void *modCnf; /* pointer to the input module conf */ + /* the following data is input module specific */ sbool canActivate; /* OK to activate this config? */ sbool canRun; /* OK to run this config? */ }; |