From b379e7d7a83cc2b0f5fc39fee7ef795a1bd0b51c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 5 Jun 2012 10:51:40 +0200 Subject: fixing small memleak during config read phase traditional system line buffers were not freed. semi-static memory leak during config load phase, did not grow while processing messages. Usually less than 5k during the whole runtime. --- runtime/rsconf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/rsconf.c b/runtime/rsconf.c index 460e69d6..a8c1b4b9 100644 --- a/runtime/rsconf.c +++ b/runtime/rsconf.c @@ -432,6 +432,7 @@ void cnfDoCfsysline(char *ln) DBGPRINTF("cnf:global:cfsysline: %s\n", ln); /* the legacy system needs the "$" stripped */ conf.cfsysline((uchar*) ln+1); + free(ln); } void cnfDoBSDTag(char *ln) -- cgit v1.2.3