[gupnp/wip/phako/reusable-service-action: 7/11] ServiceProxyAction: Clear old message
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp/wip/phako/reusable-service-action: 7/11] ServiceProxyAction: Clear old message
- Date: Mon, 31 May 2021 17:44:57 +0000 (UTC)
commit 3c009f0ee5d5365cf37fecb64fed79b64cfceb6f
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 a39b005..7b6afd8 100644
--- a/libgupnp/gupnp-service-proxy.c
+++ b/libgupnp/gupnp-service-proxy.c
@@ -677,6 +677,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]