Skip to content

Commit

Permalink
Fixed double free when cleaning up settings.c (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerjenigeUberMensch authored Nov 23, 2024
1 parent 9300c95 commit f8bb544
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,5 @@ USWipe(
}
SCParser *cfg = settings->cfg;
SCParserDestroy(cfg);
free(cfg);
memset(settings, 0, sizeof(UserSettings));
}

0 comments on commit f8bb544

Please sign in to comment.