]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 19 Oct 2010 01:02:48 +0000 (01:02 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 19 Oct 2010 01:02:48 +0000 (01:02 +0000)
Magick++/lib/Pixels.cpp

index b2335362230d0de7927274714c14d3b6db129336..f91ce6e5a69b3513bd479804e37136b167c5f1fa 100644 (file)
@@ -33,7 +33,6 @@ Magick::Pixels::Pixels( Magick::Image &image_ )
 
   if (!_view)
     _image.throwImageException();
-  (void) DestroyExceptionInfo( &_exception );
 }
 
 // Destroy pixel view
@@ -42,6 +41,7 @@ Magick::Pixels::~Pixels( void )
   if ( _view )
     _view = DestroyCacheView( _view );
   
+  (void) DestroyExceptionInfo( &_exception );
 }
 
 // Transfer pixels from the image to the pixel view as defined by