[evince] Fix memory leak
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Fix memory leak
- Date: Thu, 19 Jun 2014 14:49:12 +0000 (UTC)
commit 1212c58a7a21f8a0a787274133a04cdc54427069
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Thu Jun 19 13:01:01 2014 +0200
Fix memory leak
shell/ev-window.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index e07de0a..f014ee2 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -5575,6 +5575,7 @@ ev_window_dispose (GObject *object)
g_object_unref (priv->bookmarks_action_group);
priv->bookmarks_action_group = NULL;
}
+ g_clear_object (&priv->bookmarks_menu);
if (priv->recent_manager) {
priv->recent_manager = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]