summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2022-03-12 15:58:07 +0100
committerJens Georg <mail@jensge.org>2022-03-12 15:58:07 +0100
commit4576207214ef0f2be4369b5c4c7088209795aa60 (patch)
tree871f162cef30bb020453affd86cac7cc66991c9a
parent3d6852c541e066032b8b20607fe35c796e42b8f7 (diff)
downloadgupnp-4576207214ef0f2be4369b5c4c7088209795aa60.tar.gz
ServiceProxy: Fix double unref of idle source
-rw-r--r--libgupnp/gupnp-service-proxy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c
index 8eb7aa2..9aeb27b 100644
--- a/libgupnp/gupnp-service-proxy.c
+++ b/libgupnp/gupnp-service-proxy.c
@@ -890,7 +890,8 @@ emit_notifications (gpointer user_data)
subscribe (proxy);
}
- return FALSE;
+ priv->notify_idle_src = NULL;
+ return G_SOURCE_REMOVE;
}
/*