]> granicus.if.org Git - openjpeg/commitdiff
memory leak fixed in openjpeg.c (opj_destroy_cstr_info()), patch by Carsten Juttner
authorAntonin Descampe <antonin@gmail.com>
Thu, 22 May 2008 09:54:44 +0000 (09:54 +0000)
committerAntonin Descampe <antonin@gmail.com>
Thu, 22 May 2008 09:54:44 +0000 (09:54 +0000)
ChangeLog
libopenjpeg/openjpeg.c

index 4bd694d19f04925008b8c8a2c45e43bfce1aec12..fd707f3fb7110b9c6aa60a93695842813e26b4e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@ What's New for OpenJPEG
 ! : changed
 + : added
 
+May 20, 2008
+* [antonin] memory leak fixed in openjpeg.c (opj_destroy_cstr_info()), patch by Carsten Juttner
+
 March 12, 2008
 + [GB] help line for the -F option in j2k_to_image
 
index af2ed6e6fcfc144f8c9f5bd87db6a400c9a53983..8460c72c84db31ccf4088fe48f66254cb38feabe 100644 (file)
@@ -325,5 +325,6 @@ void OPJ_CALLCONV opj_destroy_cstr_info(opj_codestream_info_t *cstr_info) {
                }
                opj_free(cstr_info->tile);
                opj_free(cstr_info->marker);
+               opj_free(cstr_info->numdecompos);
        }
 }