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

This commit is contained in:
Max Kellermann 2013-10-24 20:00:47 +02:00
parent 1bd8a9e744
commit 03073b366b
1 changed files with 1 additions and 1 deletions

View File

@ -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;