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



commit 2a480ea0c4f1c320ff198dde84cd7ac817c15035
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 ffdd1f0..0adc159 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]