[Libreoffice-commits] .: writerfilter/inc

Miklos Vajna vmiklos at kemper.freedesktop.org
Sun Mar 11 13:44:32 PDT 2012


 writerfilter/inc/resourcemodel/WW8ResourceModel.hxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit f32fe9f5012e3ee184e1a1fca6814bee9105d8fb
Author: Arnaud Versini <arnaud.versini at gmail.com>
Date:   Sun Mar 11 20:42:44 2012 +0100

    Add a virtual destrcutor to value to prevent memory leak in RTFValue

diff --git a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
index f452a83..9504b6f 100644
--- a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
+++ b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx
@@ -295,6 +295,8 @@ public:
     typedef auto_ptr<Value> Pointer_t;
     SAL_WNODEPRECATED_DECLARATIONS_POP
 
+    virtual ~Value() {}
+
     /**
        Returns integer representation of the value.
      */


More information about the Libreoffice-commits mailing list