diff --git a/tests/test_tile_encoder.c b/tests/test_tile_encoder.c index 9c2f414e..ea0b5a4d 100644 --- a/tests/test_tile_encoder.c +++ b/tests/test_tile_encoder.c @@ -322,6 +322,8 @@ int main (int argc, char *argv[]) opj_destroy_codec(l_codec); opj_image_destroy(l_image); + free(l_data); + // Print profiling //PROFPRINT();