diff options
author | Timm Bäder <mail@baedert.org> | 2017-03-25 09:20:54 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-03-25 09:20:54 +0100 |
commit | 1b124d1479e5e4e7b87f1d7b65203aea340f6c4a (patch) | |
tree | 4af2d65ad1fbe18c20dd73658fa164a3b2e65f55 | |
parent | a501457bd40c94b339d1434a083dfd0ec35ae9bd (diff) | |
download | librest-1b124d1479e5e4e7b87f1d7b65203aea340f6c4a.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.
-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 7eec134..691e5e3 100644 --- a/rest/rest-proxy-call.c +++ b/rest/rest-proxy-call.c @@ -1221,9 +1221,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, |