tight2: Fix leak of jpeg buffer
parent
2ddf58593c
commit
4444c0a8de
|
@ -324,6 +324,7 @@ static int tight_encode_tile_jpeg(struct tight_encoder_v2* self,
|
||||||
tile->size = size;
|
tile->size = size;
|
||||||
|
|
||||||
rc = 0;
|
rc = 0;
|
||||||
|
tjFree(buffer);
|
||||||
failure:
|
failure:
|
||||||
tjDestroy(handle);
|
tjDestroy(handle);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue