Free the whole list when freeing

This commit is contained in:
Ray Chason
2022-11-12 08:04:52 -05:00
committed by PatR
parent 913a7dc0e0
commit 5a80a437a2

View File

@@ -1155,7 +1155,7 @@ purge_custom_entries(enum graphics_sets which_set)
{
struct symset_customization *gdc = &g.sym_customizations[which_set];
struct customization_detail *details = gdc->details, *next;
if (details) {
while (details) {
next = details->next;
if (gdc->custtype == custom_ureps) {
if (details->content.urep.u.utf8str)