aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-24 20:00:47 +0200
committerMax Kellermann <max@duempel.org>2013-10-24 20:01:14 +0200
commit03073b366b65a93bd6d8d9148c0e0ca69f68de4d (patch)
treef3e0d63da51a042d005c3c902686aec9023b108e /src
parent1bd8a9e744b63d27cd8bb89c45bc7fa803d69cb1 (diff)
downloadmpd-03073b366b65a93bd6d8d9148c0e0ca69f68de4d.tar.gz
mpd-03073b366b65a93bd6d8d9148c0e0ca69f68de4d.tar.xz
mpd-03073b366b65a93bd6d8d9148c0e0ca69f68de4d.zip
decoder/opus: use delete[] for the OpusReader::ReadString() result
Diffstat (limited to 'src')
-rw-r--r--src/decoder/OpusTags.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/OpusTags.cxx b/src/decoder/OpusTags.cxx
index 806ab40bd..71184f180 100644
--- a/src/decoder/OpusTags.cxx
+++ b/src/decoder/OpusTags.cxx
@@ -70,7 +70,7 @@ ScanOpusTags(const void *data, size_t size,
ScanOneOpusTag(p, eq + 1, handler, ctx);
}
- free(p);
+ delete[] p;
}
return true;