[eog] EogWindow: Fix leaking gear menu builder
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] EogWindow: Fix leaking gear menu builder
- Date: Sat, 31 Jan 2015 14:37:34 +0000 (UTC)
commit 44cbe596bd3e17f062dd332d04d104d563dd7577
Author: Felix Riemann <friemann gnome org>
Date: Sat Jan 31 15:37:15 2015 +0100
EogWindow: Fix leaking gear menu builder
src/eog-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index 9622517..696b936 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -4731,6 +4731,8 @@ eog_window_dispose (GObject *object)
g_clear_object (&priv->thumbview);
}
+ g_clear_object (&priv->gear_menu_builder);
+
peas_engine_garbage_collect (PEAS_ENGINE (EOG_APP->priv->plugin_engine));
G_OBJECT_CLASS (eog_window_parent_class)->dispose (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]