[epiphany/history-rewrite] EphyHistoryService: fix the disposal of EphyHistoryJobMethod data



commit 52e59071586995830bdcde7cf8053d5e339d9bd4
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Tue Jul 5 13:33:14 2011 +0300

    EphyHistoryService: fix the disposal of EphyHistoryJobMethod data
    
    The GDestroyNotify for the argument data was not even stored in the
    job details, leaking the argument data for every single job.

 lib/history/ephy-history-service.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/history/ephy-history-service.c b/lib/history/ephy-history-service.c
index b4ff276..3a1c670 100644
--- a/lib/history/ephy-history-service.c
+++ b/lib/history/ephy-history-service.c
@@ -342,6 +342,7 @@ ephy_history_thread_job_details_new (EphyHistoryService *service,
   details->service = service; 
   details->method = method;
   details->method_argument = method_argument;
+  details->method_argument_cleanup = method_argument_cleanup;
   details->callback = callback;
   details->user_data = user_data;
   return details;



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