diff options
author | Günther Wagner <info@gunibert.de> | 2021-12-28 16:46:10 +0100 |
---|---|---|
committer | Günther Wagner <info@gunibert.de> | 2022-01-12 19:47:12 +0100 |
commit | b6b20dae6f06a3badc6be09532d735a375b62e19 (patch) | |
tree | 3dd25cd3bea315d841076547dc61ecbeae4b2e05 /rest/rest-proxy-call.c | |
parent | b71c932a64e4060c2cbce05aac040e1c6d7dc43f (diff) | |
download | librest-b6b20dae6f06a3badc6be09532d735a375b62e19.tar.gz |
params: reworked to boxed and list
RestParams was implemented as HashTable. Limitations are that it did
not preserved the order of individual parameters aswell as duplicates
aren't allowed. Reworked it to a GList and introduced reference counting
and a boxed type.
Diffstat (limited to 'rest/rest-proxy-call.c')
-rw-r--r-- | rest/rest-proxy-call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c index 24d952d..791a7dd 100644 --- a/rest/rest-proxy-call.c +++ b/rest/rest-proxy-call.c @@ -148,7 +148,7 @@ rest_proxy_call_dispose (GObject *object) g_clear_object (&priv->cancellable); } - g_clear_pointer (&priv->params, rest_params_free); + g_clear_pointer (&priv->params, rest_params_unref); g_clear_pointer (&priv->headers, g_hash_table_unref); g_clear_pointer (&priv->response_headers, g_hash_table_unref); g_clear_object (&priv->proxy); |