[nautilus/wip/gbsneto/memleaks: 2/7] window-slot: don't leak new selection list
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/gbsneto/memleaks: 2/7] window-slot: don't leak new selection list
- Date: Tue, 23 Aug 2016 23:32:46 +0000 (UTC)
commit ab4a161628ec5aca10e51a7aeea6acb4bfceca99
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Aug 23 19:20:31 2016 -0300
window-slot: don't leak new selection list
https://bugzilla.gnome.org/show_bug.cgi?id=770306
src/nautilus-window-slot.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index af2eadf..6cda638 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -988,7 +988,7 @@ begin_location_change (NautilusWindowSlot *self,
priv->location_change_type = type;
priv->location_change_distance = distance;
priv->tried_mount = FALSE;
- priv->pending_selection = nautilus_file_list_copy (new_selection);
+ priv->pending_selection = new_selection;
priv->pending_scroll_to = g_strdup (scroll_pos);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]