diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-07-19 15:00:14 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-07-19 15:00:14 +0000 |
commit | 9ec4938d047f631db0a910c17e73d7c5aff8e166 (patch) | |
tree | d372e32f465bdddb1a900a13303ed9ead4d0320f /syslogd.c | |
parent | 4911c053c9b224b0418a9dacfd47f953e0f9ae25 (diff) | |
download | busybox-w32-9ec4938d047f631db0a910c17e73d7c5aff8e166.tar.gz busybox-w32-9ec4938d047f631db0a910c17e73d7c5aff8e166.tar.bz2 busybox-w32-9ec4938d047f631db0a910c17e73d7c5aff8e166.zip |
Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.c
(noted by Adam Slattery).
git-svn-id: svn://busybox.net/trunk/busybox@3125 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 | ||