aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_play.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-07 16:13:40 +0100
committerMax Kellermann <max@duempel.org>2008-11-07 16:13:40 +0100
commitadb2517ad7a7d0d6fcca4762c7ff87e4682e5479 (patch)
treeb1ec8156554f3bb83331db16006026be01bc3c62 /src/screen_play.c
parent04fa1f52ea0025ce99a2c2dac31a07025004454d (diff)
downloadmpd-adb2517ad7a7d0d6fcca4762c7ff87e4682e5479.tar.gz
mpd-adb2517ad7a7d0d6fcca4762c7ff87e4682e5479.tar.xz
mpd-adb2517ad7a7d0d6fcca4762c7ff87e4682e5479.zip
screen_play: free the wreadln() return value
Diffstat (limited to 'src/screen_play.c')
-rw-r--r--src/screen_play.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/screen_play.c b/src/screen_play.c
index 58bf65a54..d4fb7cee2 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;
}