mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-25 04:19:15 -05:00
Fix double-free in wma parsing causing crash on scan
This commit is contained in:
parent
41aabeeab9
commit
b0f3a6efb9
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user