[file-roller: 1/3] Fix drag-and-drop crash
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller: 1/3] Fix drag-and-drop crash
- Date: Sat, 8 Aug 2020 17:23:42 +0000 (UTC)
commit af7514a92dabaadc7faf04faa1f7413a5f160135
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]