commit | c1cda4a6091902bdb81cb8938838f4b26ddc52cf | [log] [tgz] |
---|---|---|
author | Matt Kraai <kraai@debian.org> | Thu Jul 19 15:00:14 2001 +0000 |
committer | Matt Kraai <kraai@debian.org> | Thu Jul 19 15:00:14 2001 +0000 |
tree | d372e32f465bdddb1a900a13303ed9ead4d0320f | |
parent | 81108e7653583508bfc541748845183c56e0e378 [diff] [blame] |
Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.c (noted by Adam Slattery).
diff --git a/syslogd.c b/syslogd.c index 8ae70a1..14219eb 100644 --- a/syslogd.c +++ b/syslogd.c
@@ -431,6 +431,7 @@ /* Now log it */ logMessage (pri, line); } + RELEASE_BB_BUFFER (tmpbuf); return n_read; }