Commit 03073b36 authored by Max Kellermann's avatar Max Kellermann

decoder/opus: use delete[] for the OpusReader::ReadString() result

parent 1bd8a9e7
...@@ -70,7 +70,7 @@ ScanOpusTags(const void *data, size_t size, ...@@ -70,7 +70,7 @@ ScanOpusTags(const void *data, size_t size,
ScanOneOpusTag(p, eq + 1, handler, ctx); ScanOneOpusTag(p, eq + 1, handler, ctx);
} }
free(p); delete[] p;
} }
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment