[Libreoffice-commits] .: soltools/inc

David Tardon dtardon at kemper.freedesktop.org
Thu May 12 05:33:52 PDT 2011


 soltools/inc/st_list.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a71461cb8ff7d25aa21a5f0047d647c7bd4f8b05
Author: David Tardon <dtardon at redhat.com>
Date:   Thu May 12 12:06:40 2011 +0200

    do not leak memory

diff --git a/soltools/inc/st_list.hxx b/soltools/inc/st_list.hxx
index 660bed6..51f0a32 100644
--- a/soltools/inc/st_list.hxx
+++ b/soltools/inc/st_list.hxx
@@ -44,7 +44,7 @@ class ST_List            /// Soltools-List.
                         ST_List();
                         ST_List(
                             const ST_List<XX> & i_rList );
-    virtual				~ST_List() { }
+    virtual				~ST_List() { delete[] inhalt; }
 
     // OPERATORS
     ST_List<XX> &       operator=(


More information about the Libreoffice-commits mailing list