diff options
author | Timm Bäder <mail@baedert.org> | 2017-03-25 09:20:54 +0100 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2017-10-17 16:41:08 +0200 |
commit | 61ef7faec8a9cf434bea4ac628824428172acaac (patch) | |
tree | 996957e742811af6ea74c4cf5ec61363b6087e47 /rest | |
parent | c866ba740170ef5cec4e1ef85a252a5a01d94b84 (diff) | |
download | librest-61ef7faec8a9cf434bea4ac628824428172acaac.tar.gz |
proxycall: remove double-assign to status_{code,message}
This is already done in finish_call and the g_strdup to
priv->status_message was leaking the previously set one.
Diffstat (limited to 'rest')
-rw-r--r-- | rest/rest-proxy-call.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c index 2d2ac58..72c8261 100644 --- a/rest/rest-proxy-call.c +++ b/rest/rest-proxy-call.c @@ -1057,9 +1057,6 @@ _upload_call_message_completed_cb (SoupSession *session, call = closure->call; priv = GET_PRIVATE (call); - priv->status_code = message->status_code; - priv->status_message = g_strdup (message->reason_phrase); - finish_call (call, message, &error); closure->callback (closure->call, |