From 192ab19d34e8035a0b5295cad17e5782e0649eb4 Mon Sep 17 00:00:00 2001 From: Felix Abecassis Date: Tue, 28 Nov 2017 20:27:28 -0800 Subject: [PATCH] confile: fix memory leak Signed-off-by: Felix Abecassis --- src/lxc/confile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 0149e09f6..af102beb1 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1984,7 +1984,7 @@ static int parse_line(char *buffer, void *data) } if (empty_line) - return 0; + goto on_error; line += lxc_char_left_gc(line, strlen(line)); -- 2.47.3