From: Kurt Zeilenga Date: Fri, 21 Jul 2000 02:23:27 +0000 (+0000) Subject: Plug leak of syn_names X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2399 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b800a28c1ec2611c7aca43ddf5df7d3d1cea1cd6;p=openldap Plug leak of syn_names --- diff --git a/libraries/libldap/schema.c b/libraries/libldap/schema.c index a8f85951ba..b6d82f6f6b 100644 --- a/libraries/libldap/schema.c +++ b/libraries/libldap/schema.c @@ -1017,6 +1017,7 @@ void ldap_syntax_free( LDAP_SYNTAX * syn ) { LDAP_FREE(syn->syn_oid); + LDAP_VFREE(syn->syn_names); LDAP_FREE(syn->syn_desc); free_extensions(syn->syn_extensions); LDAP_FREE(syn);