[Pkg-telepathy-commits] [telepathy-glib] 94/111: TpProxy: finish_all_requests: don't leak copied GQueue

Simon McVittie smcv at debian.org
Wed Mar 19 18:07:29 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-glib.

commit d1b1f0bf72a2820ae5a51b25c7817c3005b687ab
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Mon Mar 10 17:30:44 2014 +0000

    TpProxy: finish_all_requests: don't leak copied GQueue
    
    Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76000
    Reviewed-by: Guillaume Desmottes
---
 telepathy-glib/proxy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/telepathy-glib/proxy.c b/telepathy-glib/proxy.c
index 8d6befb..f7a5a0e 100644
--- a/telepathy-glib/proxy.c
+++ b/telepathy-glib/proxy.c
@@ -2208,7 +2208,7 @@ finish_all_requests (TpProxy *self,
       tp_proxy_prepare_request_finish (iter->data, error);
     }
 
-  g_queue_clear (tmp);
+  g_queue_free (tmp);
 }
 
 /*

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-glib.git



More information about the Pkg-telepathy-commits mailing list