xmlsecurity/source/xmlsec/saxhelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3faec544285e898c87cbeb37ef787d698d617bb6
Author: Michael Stahl <mst...@redhat.com>
Date:   Fri Nov 27 09:33:42 2015 +0100

    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 <c...@libreoffice.org>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/xmlsecurity/source/xmlsec/saxhelper.cxx 
b/xmlsecurity/source/xmlsec/saxhelper.cxx
index b017efa..f281dfd 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 ;
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to