diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2015-01-25 15:48:33 +0000 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2015-01-26 11:19:22 +0000 |
commit | 2311e8790fc2eac3e8288bc368d9ad841cfca813 (patch) | |
tree | 1107988505b8da2f55866c78613545b356c60f5c | |
parent | e407fc3d9d094d2bacdf315b459ad3eef790166b (diff) | |
download | nautilus-2311e8790fc2eac3e8288bc368d9ad841cfca813.tar.gz |
toolbar: plug a couple of memory leaks
-rw-r--r-- | 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 2e134c011..461a6a58f 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); } |