Fixed memory leak

This commit is contained in:
Markus Koch 2017-02-05 15:02:18 +01:00
parent 2b81a67087
commit 5fd6f339d3

View File

@ -436,7 +436,7 @@ void mdiary_add_entry_to_store(GtkListStore *entryListStore,
gtk_list_store_append(entryListStore, &iter);
gtk_list_store_set(entryListStore, &iter,
COL_TITLE, g_strdup(title),
COL_TITLE, title,
COL_DATE_TEXT, date_text,
COL_TAGS_TEXT, taglistString,
COL_TIMESTAMP, datetime_copy,