Code

screen_play: free the wreadln() return value
authorMax Kellermann <max@duempel.org>
Fri, 7 Nov 2008 15:13:40 +0000 (16:13 +0100)
committerMax Kellermann <max@duempel.org>
Fri, 7 Nov 2008 15:13:40 +0000 (16:13 +0100)
src/screen_play.c

index 58bf65a545c988d1df68412fa644df30b2c51d8a..d4fb7cee239f3076f6202f889379c4270fd98300 100644 (file)
@@ -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;
 }