From: Max Kellermann Date: Sun, 18 Oct 2009 00:27:14 +0000 (+0200) Subject: mpdclient: don't assign c->status twice in mpdclient_cmd_clear() X-Git-Tag: release-0.16~80 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c9e57058d89e2476af242810bfdeae8638269220;p=ncmpc.git mpdclient: don't assign c->status twice in mpdclient_cmd_clear() Forgot to delete this line when I switched to mpdclient_recv_status(). --- diff --git a/src/mpdclient.c b/src/mpdclient.c index 0a93bc9..bffbce8 100644 --- a/src/mpdclient.c +++ b/src/mpdclient.c @@ -338,10 +338,6 @@ mpdclient_cmd_clear(struct mpdclient *c) if (status == NULL) return false; - if (c->status != NULL) - mpd_status_free(c->status); - c->status = status; - if (!mpd_response_finish(connection)) return mpdclient_handle_error(c);