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:
@@ -431,6 +431,7 @@ static int serveConnection (int conn)
|
||||
/* Now log it */
|
||||
logMessage (pri, line);
|
||||
}
|
||||
RELEASE_BB_BUFFER (tmpbuf);
|
||||
return n_read;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user