summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2013-02-28 16:54:32 -0500
committerOlivier CrĂȘte <olivier.crete@collabora.com>2013-02-28 16:54:32 -0500
commit1f9fcbdf164612d0d630bb3c903e7e70fe61693f (patch)
treee83ec4a62c3f7bffa5cf56e31a5e6c944f2cbba5
parent45b9a3fe974a72140cdfda21c0e98f16dd8cc4e6 (diff)
downloadfarstream-1f9fcbdf164612d0d630bb3c903e7e70fe61693f.tar.gz
shm: Fix candidate leak
-rw-r--r--transmitters/shm/fs-shm-stream-transmitter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/transmitters/shm/fs-shm-stream-transmitter.c b/transmitters/shm/fs-shm-stream-transmitter.c
index abc43b2e..fd2192ee 100644
--- a/transmitters/shm/fs-shm-stream-transmitter.c
+++ b/transmitters/shm/fs-shm-stream-transmitter.c
@@ -281,6 +281,8 @@ fs_shm_stream_transmitter_finalize (GObject *object)
{
FsShmStreamTransmitter *self = FS_SHM_STREAM_TRANSMITTER (object);
+ fs_candidate_list_destroy (self->priv->preferred_local_candidates);
+
g_free (self->priv->shm_src);
g_free (self->priv->shm_sink);
g_mutex_clear (&self->priv->mutex);