Fix leak during backlog.

This commit is contained in:
Arnaud Cornet 2009-01-05 22:54:10 +01:00
parent aab5e61c05
commit 96a91cd92e
1 changed files with 2 additions and 0 deletions

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)) {