Fixed memory leak
This commit is contained in:
parent
2b81a67087
commit
5fd6f339d3
@ -436,7 +436,7 @@ void mdiary_add_entry_to_store(GtkListStore *entryListStore,
|
|||||||
|
|
||||||
gtk_list_store_append(entryListStore, &iter);
|
gtk_list_store_append(entryListStore, &iter);
|
||||||
gtk_list_store_set(entryListStore, &iter,
|
gtk_list_store_set(entryListStore, &iter,
|
||||||
COL_TITLE, g_strdup(title),
|
COL_TITLE, title,
|
||||||
COL_DATE_TEXT, date_text,
|
COL_DATE_TEXT, date_text,
|
||||||
COL_TAGS_TEXT, taglistString,
|
COL_TAGS_TEXT, taglistString,
|
||||||
COL_TIMESTAMP, datetime_copy,
|
COL_TIMESTAMP, datetime_copy,
|
||||||
|
Loading…
Reference in New Issue
Block a user