]> git.sur5r.net Git - openldap/commitdiff
plug leak
authorHoward Chu <hyc@openldap.org>
Sun, 2 Apr 2006 21:06:28 +0000 (21:06 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 2 Apr 2006 21:06:28 +0000 (21:06 +0000)
libraries/libldap/cyrus.c

index 154fe80e57eadb130d265ae012d05756f52f5515..dc78ebdadb5893fe51fa4f4d4e803f8577a5f2e9 100644 (file)
@@ -1074,6 +1074,7 @@ int ldap_pvt_sasl_secprops(
                        break;
                }
                if ( BER_BVISNULL( &sprops[j].key )) {
+                       ldap_charray_free( props );
                        return LDAP_NOT_SUPPORTED;
                }
        }