From 25431f32a2e75b093b3207c6fce57c7904fc1a96 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 24 Feb 2014 19:38:30 +0100 Subject: DecoderPlugin: free the container_scan() return value with delete[] --- src/decoder/DecoderPlugin.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/decoder/DecoderPlugin.hxx') diff --git a/src/decoder/DecoderPlugin.hxx b/src/decoder/DecoderPlugin.hxx index 716b01141..fd255ffb8 100644 --- a/src/decoder/DecoderPlugin.hxx +++ b/src/decoder/DecoderPlugin.hxx @@ -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); -- cgit v1.2.3