[nautilus] window-slot: fix memory leak



commit 9ff62bb8c7d0ac14776551fc25f5102cd66a61e8
Author: Pavel Vasin <rat4vier gmail com>
Date:   Tue Mar 19 03:56:34 2013 -0400

    window-slot: fix memory leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695484

 src/nautilus-window-slot.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index bd3c220..6573c68 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -815,6 +815,7 @@ nautilus_window_slot_open_location_full (NautilusWindowSlot *slot,
                               NAUTILUS_LOCATION_CHANGE_STANDARD, 0, NULL, callback, user_data);
 
  done:
+       nautilus_file_list_free (old_selection);
        nautilus_profile_end (NULL);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]