summaryrefslogtreecommitdiffstats
path: root/plugins/imfile
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-12 16:55:04 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-12 16:55:04 +0200
commit9030b96c7b0b1b44915ff13384bc2ccbeeaf0626 (patch)
tree91cd6402a96b4061e373ff7d1e1d317a45c21c18 /plugins/imfile
parentd041cdd05007593624b83df85c4fe0357d330c10 (diff)
downloadrsyslog-9030b96c7b0b1b44915ff13384bc2ccbeeaf0626.tar.gz
rsyslog-9030b96c7b0b1b44915ff13384bc2ccbeeaf0626.tar.xz
rsyslog-9030b96c7b0b1b44915ff13384bc2ccbeeaf0626.zip
implemented high precision timestamps for the kernel log.
Thanks to Michael Biebl for pointing out that the kernel log did not have them.
Diffstat (limited to 'plugins/imfile')
-rw-r--r--plugins/imfile/imfile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c
index 162cab9f..54669641 100644
--- a/plugins/imfile/imfile.c
+++ b/plugins/imfile/imfile.c
@@ -379,6 +379,9 @@ ENDafterRun
*/
BEGINmodExit
CODESTARTmodExit
+ /* release objects we used */
+ objRelease(datetime, CORE_COMPONENT);
+ objRelease(errmsg, CORE_COMPONENT);
ENDmodExit