]> git.sur5r.net Git - openldap/commitdiff
Plug leak of syn_names
authorKurt Zeilenga <kurt@openldap.org>
Fri, 21 Jul 2000 02:23:27 +0000 (02:23 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 21 Jul 2000 02:23:27 +0000 (02:23 +0000)
libraries/libldap/schema.c

index a8f85951baf67c7647756cd37bfdc2625cc829ac..b6d82f6f6be2b20e9cb35043920f8357dd92ae21 100644 (file)
@@ -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);