aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-19 05:07:31 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-19 05:07:31 +0000
commit33faf9812ccea04e7787d04eadf503ce1febc6b7 (patch)
tree2e3463d734d8172a0802543918d5093f87f10d9b /src/directory.c
parentef8209e12962a28f392372a6f6048e016cea273e (diff)
downloadmpd-33faf9812ccea04e7787d04eadf503ce1febc6b7.tar.gz
mpd-33faf9812ccea04e7787d04eadf503ce1febc6b7.tar.xz
mpd-33faf9812ccea04e7787d04eadf503ce1febc6b7.zip
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
Diffstat (limited to '')
-rw-r--r--src/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directory.c b/src/directory.c
index ff07e6bd6..0666692ae 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -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);