From 96a91cd92e6aab1c04587e5c3a77bfefcb89adff Mon Sep 17 00:00:00 2001 From: Arnaud Cornet Date: Mon, 5 Jan 2009 22:54:10 +0100 Subject: [PATCH] Fix leak during backlog. --- src/log.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/log.c b/src/log.c index 1965309..a2e1698 100644 --- a/src/log.c +++ b/src/log.c @@ -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)) {