From: cristy Date: Tue, 19 Oct 2010 01:02:48 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8666 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2040ecba8b8ee122351f6a09c88855d7202edae4;p=imagemagick --- diff --git a/Magick++/lib/Pixels.cpp b/Magick++/lib/Pixels.cpp index b23353622..f91ce6e5a 100644 --- a/Magick++/lib/Pixels.cpp +++ b/Magick++/lib/Pixels.cpp @@ -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