diff --git a/src/frontends/qt4/GuiCitation.cpp b/src/frontends/qt4/GuiCitation.cpp index 01d1b92253..0ac0022e55 100644 --- a/src/frontends/qt4/GuiCitation.cpp +++ b/src/frontends/qt4/GuiCitation.cpp @@ -116,6 +116,12 @@ GuiCitation::GuiCitation(GuiView & lv) } +GuiCitation::~GuiCitation() +{ + delete selectionManager; +} + + void GuiCitation::cleanUp() { clearSelection(); diff --git a/src/frontends/qt4/GuiCitation.h b/src/frontends/qt4/GuiCitation.h index a3f6351024..3187a1f631 100644 --- a/src/frontends/qt4/GuiCitation.h +++ b/src/frontends/qt4/GuiCitation.h @@ -37,7 +37,8 @@ class GuiCitation : public GuiDialog, public Ui::CitationUi public: /// GuiCitation(GuiView & lv); - + /// + ~GuiCitation(); /// void applyView();