[gupnp/wip/phako/reusable-service-action: 46/49] ServiceProxyAction: Clear old message
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp/wip/phako/reusable-service-action: 46/49] ServiceProxyAction: Clear old message
- Date: Sat, 3 Jul 2021 16:48:11 +0000 (UTC)
commit b4474f40ce083cc4ff368bc9dee99336290810c7
Author: Jens Georg <mail jensge org>
Date: Sat May 29 02:03:25 2021 +0200
ServiceProxyAction: Clear old message
libgupnp/gupnp-service-proxy.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c
index d0d38fd..b487f7b 100644
--- a/libgupnp/gupnp-service-proxy.c
+++ b/libgupnp/gupnp-service-proxy.c
@@ -666,6 +666,7 @@ prepare_action_msg (GUPnPServiceProxy *proxy,
local_control_url = gupnp_context_rewrite_uri (context, control_url);
g_free (control_url);
+ g_clear_object (&action->msg);
action->msg = soup_message_new (SOUP_METHOD_POST, local_control_url);
g_free (local_control_url);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]