diff options
author | Max Kellermann <max@duempel.org> | 2013-10-24 20:00:47 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-24 20:01:14 +0200 |
commit | 03073b366b65a93bd6d8d9148c0e0ca69f68de4d (patch) | |
tree | f3e0d63da51a042d005c3c902686aec9023b108e /src | |
parent | 1bd8a9e744b63d27cd8bb89c45bc7fa803d69cb1 (diff) | |
download | mpd-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.cxx | 2 |
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; |