fix a nasty bug when deleting a stream from the playlist

git-svn-id: https://svn.musicpd.org/mpd/trunk@1082 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes
2004-05-19 05:07:31 +00:00
parent ef8209e129
commit 33faf9812c
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -1229,7 +1229,7 @@ void initMp3Directory() {
Song * getSongDetails(char * file, char ** shortnameRet,
Directory ** directoryRet)
{
void * song;
void * song = NULL;
Directory * directory;
char * dir = NULL;
char * dup = strdup(file);