From: Howard Chu Date: Sun, 2 Apr 2006 21:06:28 +0000 (+0000) Subject: plug leak X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e1664b1f4250431153238d08841cf7b757a4d1db;p=openldap plug leak --- diff --git a/libraries/libldap/cyrus.c b/libraries/libldap/cyrus.c index 154fe80e57..dc78ebdadb 100644 --- a/libraries/libldap/cyrus.c +++ b/libraries/libldap/cyrus.c @@ -1074,6 +1074,7 @@ int ldap_pvt_sasl_secprops( break; } if ( BER_BVISNULL( &sprops[j].key )) { + ldap_charray_free( props ); return LDAP_NOT_SUPPORTED; } }