summaryrefslogtreecommitdiffstats
path: root/runtime/ruleset.c
diff options
context:
space:
mode:
authorvarmojfekoj <theinric@redhat.com>2010-07-05 14:41:32 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-07-05 14:41:32 +0200
commit9de526eccd85324f8cff4968ac6b17fa66648c2b (patch)
treec07308d0dcad98b4825e311d61179b90344c5775 /runtime/ruleset.c
parentfcb747c57d2b8beacade7194f99fa1de8fb0a4fb (diff)
downloadrsyslog-9de526eccd85324f8cff4968ac6b17fa66648c2b.tar.gz
rsyslog-9de526eccd85324f8cff4968ac6b17fa66648c2b.tar.xz
rsyslog-9de526eccd85324f8cff4968ac6b17fa66648c2b.zip
bugfix: segfault on HUP when "HUPIsRestart" was set to "on"
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
Diffstat (limited to 'runtime/ruleset.c')
-rw-r--r--runtime/ruleset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/ruleset.c b/runtime/ruleset.c
index d98b4217..af61f24f 100644
--- a/runtime/ruleset.c
+++ b/runtime/ruleset.c
@@ -348,6 +348,7 @@ destructAllActions(void)
CHKiRet(llDestroy(&llRulesets));
CHKiRet(llInit(&llRulesets, rulesetDestructForLinkedList, keyDestruct, strcasecmp));
+ pDfltRuleset = NULL;
finalize_it:
RETiRet;