Use correct free function.

Fixes: 75d76638 ("Free wins summary list")

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
Steffen Jaeckel
2025-06-23 12:43:04 +02:00
parent f7cddd11c4
commit dd8da16c96

View File

@@ -484,7 +484,7 @@ cons_show_wins(gboolean unread)
}
curr = g_slist_next(curr);
}
g_slist_free_full(window_strings, free);
g_slist_free_full(window_strings, g_free);
cons_alert(NULL);
}
@@ -505,7 +505,7 @@ cons_show_wins_attention()
}
curr = g_slist_next(curr);
}
g_slist_free_full(window_strings, free);
g_slist_free_full(window_strings, g_free);
cons_alert(NULL);
}