[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - xmlsecurity/source

Michael Stahl mstahl at redhat.com
Tue Dec 1 01:14:13 PST 2015


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

New commits:
commit 3faec544285e898c87cbeb37ef787d698d617bb6
Author: Michael Stahl <mstahl at 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 <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at 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 ;
         }


More information about the Libreoffice-commits mailing list