summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/ratelimit.c1
-rw-r--r--runtime/rsyslog.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/ratelimit.c b/runtime/ratelimit.c
index 6b637677..2df5f78a 100644
--- a/runtime/ratelimit.c
+++ b/runtime/ratelimit.c
@@ -122,6 +122,7 @@ ratelimitMsg(ratelimit_t *ratelimit, msg_t *pMsg, msg_t **ppRepMsg)
*ppRepMsg = ratelimitGenRepMsg(ratelimit);
ratelimit->nsupp = 0;
}
+ msgDestruct(&ratelimit->pMsg);
}
ratelimit->pMsg = MsgAddRef(pMsg);
}
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 4404c475..e6238c23 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -69,6 +69,7 @@
* approach taken here is considered appropriate.
* rgerhards, 2010-06-24
*/
+#define CONF_NUM_MULTISUB 1024 /* default number of messages per multisub structure */
/* ############################################################# *
* # End Config Settings # *