tight2: Fix leak of jpeg buffer

tight-encoder-v2
Andri Yngvason 2020-07-09 14:48:46 +00:00
parent 2ddf58593c
commit 4444c0a8de
1 changed files with 1 additions and 0 deletions

View File

@ -324,6 +324,7 @@ static int tight_encode_tile_jpeg(struct tight_encoder_v2* self,
tile->size = size;
rc = 0;
tjFree(buffer);
failure:
tjDestroy(handle);