[brasero] Fix crash when shutting down with outstanding IO jobs



commit 14a8afda4da410f119cded2db98d18f80cfcee4b
Author: Jonathan Matthew <jonathan d14n org>
Date:   Fri Jan 22 18:31:46 2010 +1000

    Fix crash when shutting down with outstanding IO jobs
    
    brasero_io_finalize was destroying IO jobs twice: once in its callback,
    and once in the async task manager's foreach function.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=607745

 libbrasero-utils/brasero-io.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libbrasero-utils/brasero-io.c b/libbrasero-utils/brasero-io.c
index 32f156c..7de4e73 100644
--- a/libbrasero-utils/brasero-io.c
+++ b/libbrasero-utils/brasero-io.c
@@ -2434,9 +2434,9 @@ brasero_io_free_async_queue (BraseroAsyncTaskManager *manager,
 			     gpointer callback_data,
 			     gpointer NULL_data)
 {
-	BraseroIOJob *job = callback_data;
-
-	brasero_io_job_free (TRUE, job);
+	/* don't do anything here, the async task manager
+	 * will destroy the job anyway.
+	 */
 	return TRUE;
 }
 



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