[nautilus] toolbar: plug a couple of memory leaks
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] toolbar: plug a couple of memory leaks
- Date: Mon, 26 Jan 2015 11:20:04 +0000 (UTC)
commit 2311e8790fc2eac3e8288bc368d9ad841cfca813
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Jan 25 15:48:33 2015 +0000
toolbar: plug a couple of memory leaks
src/nautilus-toolbar.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index 2e134c0..461a6a5 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -519,6 +519,9 @@ nautilus_toolbar_dispose (GObject *obj)
toolbar_update_appearance, self);
unschedule_menu_popup_timeout (self);
+ g_clear_object (&self->priv->zoom_adjustment_grid);
+ g_clear_object (&self->priv->zoom_adjustment_list);
+
G_OBJECT_CLASS (nautilus_toolbar_parent_class)->dispose (obj);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]