[Libreoffice-commits] core.git: xmlsecurity/source

Norbert Thiebaud nthiebaud at gmail.com
Thu Feb 21 23:50:18 PST 2013


 xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 975e2694762e011f7028755c140151fb4fdc6b1f
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Mon Feb 18 03:49:42 2013 -0600

    coverity#705782 Resource Leak
    
    Change-Id: I8346d3fd2ce4345cc9a352abb608cfec5f6939f4
    Reviewed-on: https://gerrit.libreoffice.org/2223
    Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
    Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>

diff --git a/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx
index 5234d80..45f477e 100644
--- a/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx
@@ -240,6 +240,7 @@ sal_Int16 SAL_CALL X509Certificate_NssImpl :: getVersion() throw ( ::com::sun::s
                 else
                     crit = ( (*extns)->critical.data[0] == 0xFF ) ? sal_True : sal_False ;
                 pExtn->setCertExtn( (*extns)->value.data, (*extns)->value.len, (*extns)->id.data, (*extns)->id.len, crit ) ;
+                break;
             }
         }
 


More information about the Libreoffice-commits mailing list