diff options
author | rbuj <[email protected]> | 2022-01-01 11:04:26 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-10 21:29:01 +0200 |
commit | d7626da004ccd4464169f35a41984be366edfed2 (patch) | |
tree | 9d468c1bdd470a761d7b1195ba3770a34b39d6ac /mate-dictionary | |
parent | 2e6ed9adabe4d139706e6b637078451769ad4692 (diff) | |
download | mate-utils-d7626da004ccd4464169f35a41984be366edfed2.tar.bz2 mate-utils-d7626da004ccd4464169f35a41984be366edfed2.tar.xz |
mate-dictionary: fix memory leak
Diffstat (limited to 'mate-dictionary')
-rw-r--r-- | mate-dictionary/src/gdict-window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-dictionary/src/gdict-window.c b/mate-dictionary/src/gdict-window.c index 067a2534..96168286 100644 --- a/mate-dictionary/src/gdict-window.c +++ b/mate-dictionary/src/gdict-window.c @@ -130,7 +130,6 @@ gdict_window_dispose (GObject *gobject) if (window->settings != NULL) { g_object_unref (window->settings); - window->settings = NULL; } @@ -189,6 +188,8 @@ gdict_window_dispose (GObject *gobject) window->busy_cursor = NULL; } + g_clear_pointer (&window->sidebar_page, g_free); + G_OBJECT_CLASS (gdict_window_parent_class)->dispose (gobject); } |