Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.c

(noted by Adam Slattery).
This commit is contained in:
Matt Kraai
2001-07-19 15:00:14 +00:00
parent 81108e7653
commit c1cda4a609
4 changed files with 8 additions and 0 deletions

View File

@ -431,6 +431,7 @@ static int serveConnection (int conn)
/* Now log it */
logMessage (pri, line);
}
RELEASE_BB_BUFFER (tmpbuf);
return n_read;
}