From d68081c7f06c8c4ae2758f3bc87d349adbdeff73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sat, 25 Mar 2017 09:23:36 +0100 Subject: Proxycall: Remove double-assign to status_{message,code} This is already done in finish_call and the assignent to priv->status_message was leaking the previously set value. --- rest/rest-proxy-call.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c index 1a847da..455417b 100644 --- a/rest/rest-proxy-call.c +++ b/rest/rest-proxy-call.c @@ -1081,9 +1081,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); if (error != NULL) -- cgit v1.2.1