From f8bb54474bad66da2c07eeb9a2a3e671d373d231 Mon Sep 17 00:00:00 2001 From: Joseph <119084558+DerjenigeUberMensch@users.noreply.github.com> Date: Sat, 23 Nov 2024 03:04:40 +0000 Subject: [PATCH] Fixed double free when cleaning up settings.c (#478) --- src/settings.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/settings.c b/src/settings.c index 3a519f7..56d7744 100644 --- a/src/settings.c +++ b/src/settings.c @@ -227,6 +227,5 @@ USWipe( } SCParser *cfg = settings->cfg; SCParserDestroy(cfg); - free(cfg); memset(settings, 0, sizeof(UserSettings)); }