mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 05:59:45 -05:00
Fix double-free in wma parsing causing crash on scan
This commit is contained in:
@@ -486,7 +486,7 @@ int wma_parse_extended_content_description(int fd,int size, MP3FILE *pmp3) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if((pmp3->artist) && (!pmp3->orchestra)) {
|
if((pmp3->artist) && (!pmp3->orchestra)) {
|
||||||
pmp3->orchestra = pmp3->artist;
|
pmp3->orchestra = strdup(pmp3->artist);
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user