Skip to content
Snippets Groups Projects
Commit b3324367 authored by Alexander Schwinn's avatar Alexander Schwinn
Browse files

Prevent memory leak (Issue #573)

parent e8a3ff76
No related branches found
No related tags found
No related merge requests found
Pipeline #16911 passed
...@@ -156,6 +156,9 @@ thunar_history_finalize (GObject *object) ...@@ -156,6 +156,9 @@ thunar_history_finalize (GObject *object)
g_slist_free_full (history->forward_list, g_object_unref); g_slist_free_full (history->forward_list, g_object_unref);
g_slist_free_full (history->back_list, g_object_unref); g_slist_free_full (history->back_list, g_object_unref);
if (history->current_directory != NULL)
g_object_unref (history->current_directory);
(*G_OBJECT_CLASS (thunar_history_parent_class)->finalize) (object); (*G_OBJECT_CLASS (thunar_history_parent_class)->finalize) (object);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment