1
0
forked from bip/bip

Fix leak during backlog.

This commit is contained in:
Arnaud Cornet 2009-01-05 22:54:10 +01:00
parent aab5e61c05
commit 96a91cd92e

View File

@ -1280,6 +1280,8 @@ list_t *backlog_lines_from_last_mark(log_t *log, const char *bl)
while ((line = log_backread(log, bl, &skip))) {
if (!skip)
list_add_last(ret, line);
else
free(line);
}
if (ischannel(*bl)) {