From: Max Kellermann Date: Fri, 7 Nov 2008 15:13:40 +0000 (+0100) Subject: screen_play: free the wreadln() return value X-Git-Tag: v0.12_alpha1~22 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=adb2517ad7a7d0d6fcca4762c7ff87e4682e5479;p=ncmpc.git screen_play: free the wreadln() return value --- diff --git a/src/screen_play.c b/src/screen_play.c index 58bf65a..d4fb7ce 100644 --- a/src/screen_play.c +++ b/src/screen_play.c @@ -336,6 +336,7 @@ handle_add_to_playlist(mpdclient_t *c) if (path && path[0]) mpdclient_cmd_add_path(c, path); + g_free(path); return 0; }