aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk')
-rw-r--r--ui/gtk/profile_dlg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gtk/profile_dlg.c b/ui/gtk/profile_dlg.c
index ca69b2c386..b1f4264bf2 100644
--- a/ui/gtk/profile_dlg.c
+++ b/ui/gtk/profile_dlg.c
@@ -91,6 +91,7 @@ fill_list(GtkWidget *main_w)
* and use it later without any crashes. This may not be a
* valid assumption.
*/
+ g_free(l_select);
l_select = (GtkTreeIter *)g_memdup(&iter, sizeof(iter));
}
fl_entry = g_list_next(fl_entry);