diff options
author | Milan Bartos <mbartos@redhat.com> | 2012-08-17 09:17:36 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-08-21 14:25:22 +0200 |
commit | c718cf1ac37b7959e715b04cccfa11370ab1bbb6 (patch) | |
tree | edd679d26a0dff1f4e02d2a6556d92db6b04c689 | |
parent | fa8a1f57bf92f62daa988973a09a71ecf3e58f07 (diff) | |
download | rsyslog-c718cf1ac37b7959e715b04cccfa11370ab1bbb6.tar.gz rsyslog-c718cf1ac37b7959e715b04cccfa11370ab1bbb6.tar.xz rsyslog-c718cf1ac37b7959e715b04cccfa11370ab1bbb6.zip |
Fix undefined ctxee problem
modified: plugins/imuxsock/imuxsock.c
-rw-r--r-- | plugins/imuxsock/imuxsock.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c index a560def4..57b2a70a 100644 --- a/plugins/imuxsock/imuxsock.c +++ b/plugins/imuxsock/imuxsock.c @@ -1361,8 +1361,10 @@ CODESTARTafterRun discardLogSockets(); nfd = 1; - ee_exitCtx(ctxee); - ctxee = NULL; + if(ctxee != NULL) { + ee_exitCtx(ctxee); + ctxee = NULL; + } ENDafterRun |