From 5a80a437a2c1b580137d9210179d85e6b47adbe6 Mon Sep 17 00:00:00 2001 From: Ray Chason Date: Sat, 12 Nov 2022 08:04:52 -0500 Subject: [PATCH] Free the whole list when freeing --- src/symbols.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/symbols.c b/src/symbols.c index 5117b4ac5..6867bb425 100644 --- a/src/symbols.c +++ b/src/symbols.c @@ -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)