[farsight2/master] Don't leak upnp timeout src
Olivier Crête
olivier.crete at collabora.co.uk
Tue Feb 10 05:47:11 PST 2009
---
transmitters/rawudp/fs-rawudp-component.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/transmitters/rawudp/fs-rawudp-component.c b/transmitters/rawudp/fs-rawudp-component.c
index fed6d0a..78d8f86 100644
--- a/transmitters/rawudp/fs-rawudp-component.c
+++ b/transmitters/rawudp/fs-rawudp-component.c
@@ -1112,6 +1112,7 @@ _upnp_discovery_timeout (gpointer user_data)
FsRawUdpComponent *self = user_data;
FS_RAWUDP_COMPONENT_LOCK (self);
+ g_source_unref (self->priv->upnp_discovery_timeout_src);
self->priv->upnp_discovery_timeout_src = NULL;
FS_RAWUDP_COMPONENT_UNLOCK (self);
--
1.5.6.5
More information about the farsight-commits
mailing list