summaryrefslogtreecommitdiffstats
path: root/gtk/src/subtitlehandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/subtitlehandler.c')
-rw-r--r--gtk/src/subtitlehandler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/src/subtitlehandler.c b/gtk/src/subtitlehandler.c
index 9297c0968..881996d99 100644
--- a/gtk/src/subtitlehandler.c
+++ b/gtk/src/subtitlehandler.c
@@ -1532,6 +1532,7 @@ static void subtitle_def_selected_lang_list_clear(signal_user_data_t *ud)
gtk_tree_store_append(avail_ts, &pos, NULL);
}
gtk_tree_store_set(avail_ts, &pos, 0, lang, 1, index, -1);
+ g_free(lang);
} while (gtk_tree_model_iter_next(selected_tm, &iter));
}
gtk_tree_store_clear(GTK_TREE_STORE(selected_tm));