From 50e731776b4f6cd53d3a337b22db9c27a7e84472 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 23 Feb 2015 09:13:23 +0100 Subject: [PATCH] Call config_file_free() at end of input_overlay_load_overlay --- input/input_overlay.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/input/input_overlay.c b/input/input_overlay.c index 1f7e4ebf92..2a53823d1e 100644 --- a/input/input_overlay.c +++ b/input/input_overlay.c @@ -500,6 +500,8 @@ static bool input_overlay_load_overlay(input_overlay_t *ol, overlay->center_x = overlay->x + 0.5f * overlay->w; overlay->center_y = overlay->y + 0.5f * overlay->h; + config_file_free(conf); + return true; error: