Fix leak during backlog.
This commit is contained in:
parent
aab5e61c05
commit
96a91cd92e
@ -1280,6 +1280,8 @@ list_t *backlog_lines_from_last_mark(log_t *log, const char *bl)
|
|||||||
while ((line = log_backread(log, bl, &skip))) {
|
while ((line = log_backread(log, bl, &skip))) {
|
||||||
if (!skip)
|
if (!skip)
|
||||||
list_add_last(ret, line);
|
list_add_last(ret, line);
|
||||||
|
else
|
||||||
|
free(line);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ischannel(*bl)) {
|
if (ischannel(*bl)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user