]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 8 Jan 2012 01:14:08 +0000 (01:14 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 8 Jan 2012 01:14:08 +0000 (01:14 +0000)
MagickCore/colorspace.c

index 114b66037c7b30d7fb153fba894b7fea6833dee3..77e6dcb796ec7086333239c3de324cddd5a87254 100644 (file)
@@ -1130,7 +1130,6 @@ MagickExport MagickBooleanType RGBTransformImage(Image *image,
       /*
         Convert PseudoClass image.
       */
-      image_view=AcquireCacheView(image);
       for (i=0; i < (ssize_t) image->colors; i++)
       {
         PixelInfo
@@ -1146,7 +1145,6 @@ MagickExport MagickBooleanType RGBTransformImage(Image *image,
         image->colormap[i].green=ScaleMapToQuantum(pixel.green);
         image->colormap[i].blue=ScaleMapToQuantum(pixel.blue);
       }
-      image_view=DestroyCacheView(image_view);
       (void) SyncImage(image,exception);
       break;
     }