[trunk] Fix a simple leak in test_tile_encoder
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Tue, 29 May 2012 14:27:42 +0000 (14:27 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Tue, 29 May 2012 14:27:42 +0000 (14:27 +0000)
tests/test_tile_encoder.c

index 9c2f414e11dad93d4048f262263c0665602f3677..ea0b5a4dc224dfce527ab637d3665b487cd63aeb 100644 (file)
@@ -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();