From: malaterre Date: Fri, 1 Jul 2005 13:17:00 +0000 (+0000) Subject: BUG: Hopefully fixing the bug for Borland (optimization ON) X-Git-Tag: Version1.2.bp~390 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=f356176a8a17bffbc281b883cbfcc20928890625;p=gdcm.git BUG: Hopefully fixing the bug for Borland (optimization ON) --- diff --git a/src/gdcmjasper/src/libjasper/base/jas_image.c b/src/gdcmjasper/src/libjasper/base/jas_image.c index 9cf6a96e..922bd0b4 100644 --- a/src/gdcmjasper/src/libjasper/base/jas_image.c +++ b/src/gdcmjasper/src/libjasper/base/jas_image.c @@ -64,7 +64,7 @@ /* * Image Library * - * $Id: jas_image.c,v 1.4 2005/06/11 14:23:07 malaterre Exp $ + * $Id: jas_image.c,v 1.5 2005/07/01 13:17:00 malaterre Exp $ */ /******************************************************************************\ @@ -302,7 +302,8 @@ static jas_image_cmpt_t *jas_image_cmpt_create(uint_fast32_t tlx, uint_fast32_t jas_image_cmpt_t *cmpt; long size; - if (!(cmpt = jas_malloc(sizeof(jas_image_cmpt_t)))) { + /*if (!(cmpt = jas_malloc(sizeof(jas_image_cmpt_t)))) {*/ + if (!(cmpt = jas_image_cmpt_create0())) { return 0; }