diff options
author | Max Kellermann <max@duempel.org> | 2011-05-09 18:03:45 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-05-09 18:03:54 +0200 |
commit | 9402b23dd5f75388cb48fdf04ca62033dfc6709a (patch) | |
tree | 88d04f8cafbca586564321427d66a1f44c9b0699 /src/playlist_song.c | |
parent | 246db3d5652bb7289b1a1ab255dfdb67e0fa260e (diff) | |
download | mpd-9402b23dd5f75388cb48fdf04ca62033dfc6709a.tar.gz mpd-9402b23dd5f75388cb48fdf04ca62033dfc6709a.tar.xz mpd-9402b23dd5f75388cb48fdf04ca62033dfc6709a.zip |
playlist_song: fix NULL pointer dereference
Diffstat (limited to '')
-rw-r--r-- | src/playlist_song.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist_song.c b/src/playlist_song.c index 1e8e98795..2ad63c913 100644 --- a/src/playlist_song.c +++ b/src/playlist_song.c @@ -129,7 +129,7 @@ playlist_check_translate_song(struct song *song, const char *base_uri) else uri = g_strdup(uri); - if (uri_has_scheme(base_uri)) { + if (uri_has_scheme(uri)) { dest = song_remote_new(uri); g_free(uri); } else { |