seems to have grown lately. perhaps someone can put it on a diet?

as an aside: do we need something like the attached since the selection manager 
is created without a parent?


Index: src/frontends/qt4/GuiCitation.cpp
===================================================================
--- src/frontends/qt4/GuiCitation.cpp	(revision 24552)
+++ src/frontends/qt4/GuiCitation.cpp	(working copy)
@@ -116,6 +116,12 @@
 }
 
 
+GuiCitation::~GuiCitation()
+{
+	delete selectionManager;
+}
+
+
 void GuiCitation::cleanUp() 
 {
 	clearSelection();
Index: src/frontends/qt4/GuiCitation.h
===================================================================
--- src/frontends/qt4/GuiCitation.h	(revision 24552)
+++ src/frontends/qt4/GuiCitation.h	(working copy)
@@ -37,8 +37,9 @@
 public:
 	///
 	GuiCitation(GuiView & lv);
-
 	///
+	~GuiCitation();
+	///
 	void applyView();
 
 public Q_SLOTS:

Reply via email to