Git commit 59c7b2e870bed74fa74d01ac5b9e89741debabad by Dr. Robert Marmorstein. Committed on 01/08/2011 at 17:47. Pushed by robertm into branch 'master'. Fix a likely memory leak. Unfortunately, I don't have a way to test this. We may need to revert if it causes crashes in the filter, but I think it's probably correct. M +3 -0 filters/kword/msword-odf/wv2/src/ustring.h http://commits.kde.org/koffice/59c7b2e870bed74fa74d01ac5b9e89741debabad diff --git a/filters/kword/msword-odf/wv2/src/ustring.h b/filters/kword/msword-odf/wv2/src/ustring.h index 183710d..034c10e 100644 --- a/filters/kword/msword-odf/wv2/src/ustring.h +++ b/filters/kword/msword-odf/wv2/src/ustring.h @@ -202,6 +202,9 @@ namespace wvWare { int len; int rc; static Rep null; + ~Rep () { + delete[] dat; + } }; public: