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



commit 420d1bac6d999bd29be17f8e31cd811525215b41
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]