From c9e57058d89e2476af242810bfdeae8638269220 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 18 Oct 2009 02:27:14 +0200 Subject: [PATCH] mpdclient: don't assign c->status twice in mpdclient_cmd_clear() Forgot to delete this line when I switched to mpdclient_recv_status(). --- src/mpdclient.c | 4 ---- 1 file changed, 4 deletions(-) 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); -- 2.30.2