summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-11-03 08:42:02 +0900
committerDavid Tardon <dtardon@redhat.com>2014-11-03 11:17:19 +0000
commitfe1f258d5b77cd6e6a7483d7cf28195dbfdd62a4 (patch)
treeabc31463da5a52e3f330b3674b79082d686dac35 /starmath/inc
parentd4ca8958859b96cb3dc067c0cdc048f35d4a24a6 (diff)
fix memory leak of pointers contained in m_aErrDescList
Change-Id: I9fcbdcd54978ccaffa5359c0afb0a1990356c218 Reviewed-on: https://gerrit.libreoffice.org/12205 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/parse.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 7f59def955a6..376113c9e8b3 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -27,7 +27,7 @@
#include "types.hxx"
-#include <vector>
+#include <boost/ptr_container/ptr_vector.hpp>
class SmNode;
@@ -157,7 +157,7 @@ struct SmErrorDesc
typedef ::std::stack< SmNode* > SmNodeStack;
-typedef ::std::vector< SmErrorDesc* > SmErrDescList;
+typedef boost::ptr_vector< SmErrorDesc > SmErrDescList;
/**************************************************************************/