diff options
author | Fabrice Bellet <fabrice@bellet.info> | 2016-12-11 19:18:07 +0100 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2016-12-18 11:24:41 -0500 |
commit | 0c9570ebacb7cead9bdb2a887d210aaf6db02a8e (patch) | |
tree | 9fb7460f180ffbf3da3360752ec57d3ac5b5911b | |
parent | 93380c723f999ee9d387cbf2de08dbf12e908fec (diff) | |
download | telepathy-farstream-0c9570ebacb7cead9bdb2a887d210aaf6db02a8e.tar.gz |
call-content: fix a memory leak
https://bugs.freedesktop.org/show_bug.cgi?id=99124
-rw-r--r-- | telepathy-farstream/call-content.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-farstream/call-content.c b/telepathy-farstream/call-content.c index 3f26063..b4b7e78 100644 --- a/telepathy-farstream/call-content.c +++ b/telepathy-farstream/call-content.c @@ -1773,7 +1773,7 @@ find_codec (GList *codecs, FsCodec *codec) static GHashTable * fscodecs_to_media_descriptions (TfCallContent *self, GList *codecs) { - GPtrArray *tpcodecs = g_ptr_array_new (); + GPtrArray *tpcodecs = g_ptr_array_new_with_free_func ((GDestroyNotify) g_value_array_free); GList *item; GList *resend_codecs = NULL; GHashTable *retval = NULL; |