# HG changeset patch # User thomas_-_s # Date 1302641344 0 # Node ID 49839f3eed83e9158afb682f68d478f80ef0df4b # Parent 5a27624a035f9b7aeb57fa940dd20af5e95c06bd MainWindow: Release the shared pointer on exit. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@1037 59b1889a-e5ac-428c-b0c7-476e01d41282 diff -r 5a27624a035f -r 49839f3eed83 src/MainWindow.h --- a/src/MainWindow.h Mon Apr 11 21:09:55 2011 +0000 +++ b/src/MainWindow.h Tue Apr 12 20:49:04 2011 +0000 @@ -49,6 +49,9 @@ public: //! Constructor MainWindow(QString file2OpenOnStart = "", QWidget *parent = NULL); + ~MainWindow() { + _settings.clear(); + } protected: void closeEvent( QCloseEvent *event );