]> Creatis software - gdcm.git/commitdiff
ENH: Remove mem leak
authormalaterre <malaterre>
Fri, 1 Jul 2005 13:18:59 +0000 (13:18 +0000)
committermalaterre <malaterre>
Fri, 1 Jul 2005 13:18:59 +0000 (13:18 +0000)
src/gdcmjasper/src/libjasper/base/jas_cm.c

index e3e8528aab7099e8cd7d97178e88443a355eea4c..0941b825e37c79634c41fb18ef91e2d408c2c8dd 100644 (file)
@@ -62,7 +62,7 @@
 /*
  * Color Management
  *
- * $Id: jas_cm.c,v 1.2 2005/06/09 22:01:59 malaterre Exp $
+ * $Id: jas_cm.c,v 1.3 2005/07/01 13:18:59 malaterre Exp $
  */
 
 #include <jasper/jas_config.h>
@@ -158,7 +158,7 @@ jas_cmprof_t *jas_cmprof_createfromclrspc(int clrspc)
       goto error;
     if (!(prof = jas_cmprof_createfromiccprof(iccprof)))
       goto error;
-#if 0
+#if 1
     jas_iccprof_destroy(iccprof);
 #else
     prof->iccprof = iccprof;