fix a memleak in EncodeImageInternal()
Change-Id: I55cd013211f192188b54c694ef0837af0c01b53c
This commit is contained in:
parent
0993a611cd
commit
4a6362357a
@ -855,6 +855,7 @@ static int EncodeImageInternal(VP8LBitWriter* const bw,
|
||||
if (!ok) {
|
||||
DeleteHistograms(histogram_image, histogram_image_size);
|
||||
}
|
||||
free(backward_refs);
|
||||
for (i = 0; i < 5 * histogram_image_size; ++i) {
|
||||
free(bit_lengths[i]);
|
||||
free(bit_codes[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user