decoder/opus: use delete[] for the OpusReader::ReadString() result
This commit is contained in:
parent
1bd8a9e744
commit
03073b366b
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue