summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-11-27 09:33:42 +0100
committerAndras Timar <andras.timar@collabora.com>2015-12-06 14:29:23 +0100
commita26a76fb25745b3c9b2a19a7b3f855c3a8bcd03d (patch)
tree1e78a8e27d867aa9859d104d5127441a5ddd2c2e
parent4982db9047476b742ebc7b02fee8dfa96a5c58db (diff)
xmlsecurity: fix DrMemory warning
Presumably that was the intent? (cherry picked from commit a933990a3f24f7c3ed40500f782f6fcb25462824) Change-Id: Ibfca90041d6913827d2f329bab448afe4d725b46 Reviewed-on: https://gerrit.libreoffice.org/20289 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 3faec544285e898c87cbeb37ef787d698d617bb6)
-rw-r--r--xmlsecurity/source/xmlsec/saxhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/xmlsec/saxhelper.cxx b/xmlsecurity/source/xmlsec/saxhelper.cxx
index b017efa2391b..f281dfda8112 100644
--- a/xmlsecurity/source/xmlsec/saxhelper.cxx
+++ b/xmlsecurity/source/xmlsec/saxhelper.cxx
@@ -137,7 +137,7 @@ SAXHelper::SAXHelper( )
{
xmlSAXVersion(m_pParserCtxt->sax, 1);
- if( m_pParserCtxt->inputTab[0] != NULL )
+ if (m_pParserCtxt->inputTab != nullptr)
{
m_pParserCtxt->inputTab[0] = NULL ;
}