[file-roller/gnome-3-36] Fix drag-and-drop crash



commit 29580e05ca7bec9d5436695b392af44afe887ff2
Author: Guilherme Silva <oguilherme protonmail com>
Date:   Sat Jul 25 00:18:57 2020 -0300

    Fix drag-and-drop crash
    
    After cancelling the extraction process upon conflicting file names,
    we need to call `fr_window_dnd_extraction_finished()` to prevent
    `extraction_is_finished()` from accessing free'd data.
    
    Fixes !93

 src/fr-window.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index 8ff09752..d58bf3f2 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -6700,6 +6700,7 @@ overwrite_dialog_response_cb (GtkDialog *dialog,
 
        if (do_not_extract) {
                fr_window_batch_stop (odata->window);
+               fr_window_dnd_extraction_finished (odata->window, FALSE);
                overwrite_data_free (odata);
                return;
        }


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