From 9f5ce31f7f42dc8d3d6062cb17c87fb57b23817a Mon Sep 17 00:00:00 2001 From: Paul Pogonyshev Date: Mon, 13 Apr 2009 20:28:24 +0000 Subject: Bug 578870 – memory leak in gio.File.copy_async MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2009-04-13 Paul Pogonyshev Bug 578870 – memory leak in gio.File.copy_async * gio/gio.override (PyGIONotify): Add 'slaves' field. (pygio_notify_new_slave): New function. (pygio_notify_reference_callback): Recurse for slaves, if any. (pygio_notify_free): Likewise. * gio/gfile.override (file_progress_callback_marshal): Use new chaining functionality to avoid leaking the second PyGIONotify structure. Rename 'callback' as 'progress_callback' for clarity. svn path=/trunk/; revision=1060 --- ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 30cdc0d..eb98ec6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2009-04-13 Paul Pogonyshev + + Bug 578870 – memory leak in gio.File.copy_async + + * gio/gio.override (PyGIONotify): Add 'slaves' field. + (pygio_notify_new_slave): New function. + (pygio_notify_reference_callback): Recurse for slaves, if any. + (pygio_notify_free): Likewise. + + * gio/gfile.override (file_progress_callback_marshal): Use new + chaining functionality to avoid leaking the second PyGIONotify + structure. Rename 'callback' as 'progress_callback' for clarity. + 2009-04-12 Gian Mario Tagliaretti * gio/gio.defs: (g_file_monitor) should accept None -- cgit