From 515918f80c362836684d206bb24e175eb99e24fc Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 1 Jan 2018 16:37:20 +0100 Subject: [PATCH] config_file.c - fix Coverity warning - resource leak of path --- libretro-common/file/config_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libretro-common/file/config_file.c b/libretro-common/file/config_file.c index c432d7733a..92403b1a20 100644 --- a/libretro-common/file/config_file.c +++ b/libretro-common/file/config_file.c @@ -289,6 +289,7 @@ static bool parse_line(config_file_t *conf, fprintf(stderr, "!!! #include depth exceeded for config. Might be a cycle.\n"); else add_sub_conf(conf, path); + free(path); } goto error; }