summaryrefslogtreecommitdiff
path: root/rest/rest-proxy-call.c
diff options
context:
space:
mode:
Diffstat (limited to 'rest/rest-proxy-call.c')
-rw-r--r--rest/rest-proxy-call.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c
index efd8a05..22272f8 100644
--- a/rest/rest-proxy-call.c
+++ b/rest/rest-proxy-call.c
@@ -780,10 +780,14 @@ prepare_message (RestProxyCall *call, GError **error_out)
rest_param_get_file_name (param),
rest_param_get_content_type (param),
sb);
+
+ soup_buffer_free (sb);
}
}
message = soup_form_request_new_from_multipart (priv->url, mp);
+
+ soup_multipart_free (mp);
}
/* Set the user agent, if one was set in the proxy */