]> granicus.if.org Git - imagemagick/commitdiff
Added missing call to DestroyCacheView.
authordirk <dirk@git.imagemagick.org>
Mon, 29 Aug 2016 09:53:51 +0000 (11:53 +0200)
committerdirk <dirk@git.imagemagick.org>
Mon, 29 Aug 2016 09:54:46 +0000 (11:54 +0200)
MagickCore/vision.c

index 18f4d436d127d3c3edaef572845240af86b92d9f..089af63cd1a5f47df3cc4b4578c0a25d3761b5f6 100644 (file)
@@ -534,6 +534,7 @@ MagickExport Image *ConnectedComponentsImage(const Image *image,
             status=MagickFalse;
         }
       }
+      component_view=DestroyCacheView(component_view);
       (void) SyncImage(component_image,exception);
     }
   artifact=GetImageArtifact(image,"connected-components:mean-color");