From 68f5c907fed1b193ce8d689c9fca90a8953a11b8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 6 Aug 2018 06:54:52 +0200 Subject: [PATCH] Don't leak 4096 bytes in config_load_remap --- configuration.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configuration.c b/configuration.c index 5ab7b22edd..b3c707d38f 100644 --- a/configuration.c +++ b/configuration.c @@ -3411,12 +3411,14 @@ bool config_load_remap(void) new_conf = NULL; + free(content_path); free(remap_directory); free(core_path); free(game_path); return false; success: + free(content_path); free(remap_directory); free(core_path); free(game_path);