Fix double-free in wma parsing causing crash on scan

This commit is contained in:
Ron Pedde 2006-05-24 04:25:21 +00:00
parent 41aabeeab9
commit b0f3a6efb9

View File

@ -486,7 +486,7 @@ int wma_parse_extended_content_description(int fd,int size, MP3FILE *pmp3) {
}
if((pmp3->artist) && (!pmp3->orchestra)) {
pmp3->orchestra = pmp3->artist;
pmp3->orchestra = strdup(pmp3->artist);
}
return TRUE;