song: initialize mtime in song_alloc()

This commit is contained in:
Max Kellermann 2009-07-06 11:32:31 +02:00
parent badb827712
commit 00eea0e615

View File

@ -49,6 +49,7 @@ song_alloc(const char *url, struct directory *parent)
song->tag = NULL;
memcpy(song->url, url, urllen + 1);
song->parent = parent;
song->mtime = 0;
return song;
}