playlist_song: fix NULL pointer dereference
This commit is contained in:
parent
246db3d565
commit
9402b23dd5
1
NEWS
1
NEWS
|
@ -1,5 +1,6 @@
|
||||||
ver 0.16.3 (2011/??/??)
|
ver 0.16.3 (2011/??/??)
|
||||||
* fix assertion failure in audio format mask parser
|
* fix assertion failure in audio format mask parser
|
||||||
|
* fix NULL pointer dereference in playlist parser
|
||||||
* decoder:
|
* decoder:
|
||||||
- ffmpeg: support libavcodec 0.7
|
- ffmpeg: support libavcodec 0.7
|
||||||
|
|
||||||
|
|
|
@ -129,7 +129,7 @@ playlist_check_translate_song(struct song *song, const char *base_uri)
|
||||||
else
|
else
|
||||||
uri = g_strdup(uri);
|
uri = g_strdup(uri);
|
||||||
|
|
||||||
if (uri_has_scheme(base_uri)) {
|
if (uri_has_scheme(uri)) {
|
||||||
dest = song_remote_new(uri);
|
dest = song_remote_new(uri);
|
||||||
g_free(uri);
|
g_free(uri);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue