From 65e5ff0fb4dbdd4db7450da4d10339625dcdb0c1 Mon Sep 17 00:00:00 2001 From: Antonin Descampe Date: Thu, 22 May 2008 09:54:44 +0000 Subject: [PATCH] memory leak fixed in openjpeg.c (opj_destroy_cstr_info()), patch by Carsten Juttner --- ChangeLog | 3 +++ libopenjpeg/openjpeg.c | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4bd694d1..fd707f3f 100644 --- 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 diff --git a/libopenjpeg/openjpeg.c b/libopenjpeg/openjpeg.c index af2ed6e6..8460c72c 100644 --- a/libopenjpeg/openjpeg.c +++ b/libopenjpeg/openjpeg.c @@ -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); } } -- 2.40.0