diff --git a/kmreaderwin.cpp b/kmreaderwin.cpp index b18d38527..5f4e46246 100644 --- a/kmreaderwin.cpp +++ b/kmreaderwin.cpp @@ -2264,6 +2264,7 @@ void KMReaderWin::setMsgPart( KMMessagePart* aMsgPart, bool aHTML, htmlWriter()->end(); setWindowTitle( i18n("View Attachment: %1", pname ) ); show(); + delete iio; } else { htmlWriter()->begin( mCSSHelper->cssDefinitions( isFixedFont() ) ); htmlWriter()->queue( mCSSHelper->htmlHead( isFixedFont() ) );