From 9e56bced6e389edc636ab430e57e78a314744033 Mon Sep 17 00:00:00 2001 From: Tedd Ho-Jeong An Date: Fri, 21 May 2021 10:04:07 -0700 Subject: [PATCH] src/main: Fix double free str This patch fixes the double free the string. The string variable is always freed within its if statement so no need to free it again in the end. --- src/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.c b/src/main.c index ed19e3e28..57db9c134 100644 --- a/src/main.c +++ b/src/main.c @@ -804,7 +804,6 @@ static void parse_config(GKeyFile *config) parse_br_config(config); parse_le_config(config); - g_free(str); } static void init_defaults(void) -- 2.47.3