[nautilus/origin/wip/desktop-split-nofonclicts: 6/26] canvas-dnd: set as NULL after free



commit 886aedaa89751058a1d6a959dcc21ca6c5188552
Author: Carlos Soriano <csoriano gnome org>
Date:   Tue Apr 12 12:02:43 2016 +0200

    canvas-dnd: set as NULL after free
    
    So we don't double free it.

 libnautilus-private/nautilus-canvas-dnd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-canvas-dnd.c b/libnautilus-private/nautilus-canvas-dnd.c
index c485c9a..04a82c2 100644
--- a/libnautilus-private/nautilus-canvas-dnd.c
+++ b/libnautilus-private/nautilus-canvas-dnd.c
@@ -361,6 +361,7 @@ stop_cache_selection_list (NautilusDragInfo *drag_info)
 {
         if (drag_info->file_list_info_handler) {
                 nautilus_file_list_cancel_call_when_ready (drag_info->file_list_info_handler);
+                drag_info->file_list_info_handler = NULL;
         }
 }
 


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