[Libreoffice-commits] .: writerfilter/source
Cédric Bosdonnat
cbosdo at kemper.freedesktop.org
Mon Dec 13 07:57:35 PST 2010
writerfilter/source/resourcemodel/TagLogger.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit cd27acc9a70df0dd44bcdcc9783742ff821fe080
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date: Mon Dec 13 16:56:56 2010 +0100
Set the writer to NULL after freeing it
diff --git a/writerfilter/source/resourcemodel/TagLogger.cxx b/writerfilter/source/resourcemodel/TagLogger.cxx
index 1809392..d6ff301 100644
--- a/writerfilter/source/resourcemodel/TagLogger.cxx
+++ b/writerfilter/source/resourcemodel/TagLogger.cxx
@@ -200,6 +200,7 @@ namespace writerfilter
{
xmlTextWriterEndDocument( pWriter );
xmlFreeTextWriter( pWriter );
+ pWriter = NULL;
}
More information about the Libreoffice-commits
mailing list