[gupnp/wip/ci] ServiceProxy: Fix double unref of idle source



commit 4576207214ef0f2be4369b5c4c7088209795aa60
Author: Jens Georg <mail jensge org>
Date:   Sat Mar 12 15:58:07 2022 +0100

    ServiceProxy: Fix double unref of idle source

 libgupnp/gupnp-service-proxy.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
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;
 }
 
 /*


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]