[nautilus] window-slot: remove wrong unref



commit 0a86a7392242ce4b6bd231846bd91cb047b940b8
Author: Carlos Soriano <csoriano gnome org>
Date:   Wed Nov 25 21:22:20 2015 +0100

    window-slot: remove wrong unref
    
    Probably if didn't crash before because we are leaking elsewhere...

 src/nautilus-window-slot.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index 03c54cc..a040952 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -1273,8 +1273,6 @@ handle_regular_file_if_needed (NautilusWindowSlot *slot,
            needs_regular_file_handling = TRUE;
         }
 
-        nautilus_file_unref (parent_file);
-
         return needs_regular_file_handling;
 }
 


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