Blame SOURCES/rsyslog-8.2102.0-rhbz2157658-imklog.patch

1fd806
diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c
1fd806
index 6c24b5a2db..78cfc3bae2 100644
1fd806
--- a/plugins/imklog/imklog.c
1fd806
+++ b/plugins/imklog/imklog.c
1fd806
@@ -453,6 +453,7 @@ ENDactivateCnf
1fd806
 
1fd806
 BEGINfreeCnf
1fd806
 CODESTARTfreeCnf
1fd806
+	free(pModConf->pszBindRuleset);
1fd806
 ENDfreeCnf
1fd806
 
1fd806
 
1fd806
@@ -475,7 +476,6 @@ CODESTARTmodExit
1fd806
 	if(pInputName != NULL)
1fd806
 		prop.Destruct(&pInputName);
1fd806
 
1fd806
-	free(runModConf->pszBindRuleset);
1fd806
 	/* release objects we used */
1fd806
 	objRelease(glbl, CORE_COMPONENT);
1fd806
 	objRelease(net, CORE_COMPONENT);