aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/DecoderPlugin.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-24 19:38:30 +0100
committerMax Kellermann <max@duempel.org>2014-02-24 20:19:34 +0100
commit25431f32a2e75b093b3207c6fce57c7904fc1a96 (patch)
tree2c2a10144af14601d21654f624826285b69384f9 /src/decoder/DecoderPlugin.hxx
parent6ba1fe75689b394d39488b691b225e4269110b61 (diff)
downloadmpd-25431f32a2e75b093b3207c6fce57c7904fc1a96.tar.gz
mpd-25431f32a2e75b093b3207c6fce57c7904fc1a96.tar.xz
mpd-25431f32a2e75b093b3207c6fce57c7904fc1a96.zip
DecoderPlugin: free the container_scan() return value with delete[]
Diffstat (limited to '')
-rw-r--r--src/decoder/DecoderPlugin.hxx2
1 files changed, 2 insertions, 0 deletions
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);