From e1664b1f4250431153238d08841cf7b757a4d1db Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 2 Apr 2006 21:06:28 +0000 Subject: [PATCH] plug leak --- libraries/libldap/cyrus.c | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.39.5