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

New commits:
commit 9972f86a01969535139bf5a02ea10714d94b51a3
Author: Arnaud Versini <arnaud.vers...@gmail.com>
Date:   Sun Mar 11 20:42:44 2012 +0100

    Add a virtual destrcutor to value to prevent memory leak in RTFValue
    
    (cherry picked from commit f32fe9f5012e3ee184e1a1fca6814bee9105d8fb)
    
    Signed-off-by: Miklos Vajna <vmik...@suse.cz>

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.
      */
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to