]> git.sur5r.net Git - openldap/commitdiff
aclparse/alist should be charray_free'ed instead of free'd
authorKurt Zeilenga <kurt@openldap.org>
Wed, 30 Dec 1998 20:37:02 +0000 (20:37 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 30 Dec 1998 20:37:02 +0000 (20:37 +0000)
servers/slapd/aclparse.c

index e8bd5d0300abc71c8db6c6506c96d4f982080cc3..d0de1d1d436b79530e574459ec2afff043cdf3f5 100644 (file)
@@ -160,7 +160,7 @@ parse_acl(
 
                                        alist = str2charray( right, "," );
                                        charray_merge( &a->acl_attrs, alist );
-                                       free( alist );
+                                       charray_free( alist );
                                } else {
                                        fprintf( stderr,
                                                "%s: line %d: expecting <what> got \"%s\"\n",