DecoderPlugin: free the container_scan() return value with delete[]

This commit is contained in:
Max Kellermann
2014-02-24 19:38:30 +01:00
parent 6ba1fe7568
commit 25431f32a2
3 changed files with 5 additions and 7 deletions

View File

@@ -95,6 +95,8 @@ struct DecoderPlugin {
* @return nullptr if there are no multiple files
* a filename for every single track according to tnum (param 2)
* do not include full pathname here, just the "virtual" file
*
* Free the return value with delete[].
*/
char* (*container_scan)(Path path_fs, const unsigned int tnum);