diff options
author | Matt Kraai <kraai@debian.org> | 2001-07-19 15:00:14 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-07-19 15:00:14 +0000 |
commit | c1cda4a6091902bdb81cb8938838f4b26ddc52cf (patch) | |
tree | d372e32f465bdddb1a900a13303ed9ead4d0320f /sysklogd | |
parent | 81108e7653583508bfc541748845183c56e0e378 (diff) | |
download | busybox-w32-c1cda4a6091902bdb81cb8938838f4b26ddc52cf.tar.gz busybox-w32-c1cda4a6091902bdb81cb8938838f4b26ddc52cf.tar.bz2 busybox-w32-c1cda4a6091902bdb81cb8938838f4b26ddc52cf.zip |
Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.c
(noted by Adam Slattery).
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/syslogd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 8ae70a1ed..14219eb54 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c | |||
@@ -431,6 +431,7 @@ static int serveConnection (int conn) | |||
431 | /* Now log it */ | 431 | /* Now log it */ |
432 | logMessage (pri, line); | 432 | logMessage (pri, line); |
433 | } | 433 | } |
434 | RELEASE_BB_BUFFER (tmpbuf); | ||
434 | return n_read; | 435 | return n_read; |
435 | } | 436 | } |
436 | 437 | ||