[epiphany/history-rewrite: 18/28] EphyHistoryService: fix the disposal of EphyHistoryJobMethod data
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/history-rewrite: 18/28] EphyHistoryService: fix the disposal of EphyHistoryJobMethod data
- Date: Thu, 7 Jul 2011 11:43:09 +0000 (UTC)
commit a48d69018a00fac1ecdd6906fa1ab4b6bfefe9b5
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]