mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
plug leaks
This commit is contained in:
parent
e1664b1f42
commit
c63d1f04f8
1 changed files with 2 additions and 2 deletions
|
|
@ -340,7 +340,7 @@ parse_acl(
|
|||
Debug( LDAP_DEBUG_ANY, "%s: line %d: "
|
||||
"only one to clause allowed in access line\n",
|
||||
fname, lineno, 0 );
|
||||
return acl_usage();
|
||||
goto fail;
|
||||
}
|
||||
a = (AccessControl *) ch_calloc( 1, sizeof(AccessControl) );
|
||||
for ( ++i; i < argc; i++ ) {
|
||||
|
|
@ -756,7 +756,7 @@ parse_acl(
|
|||
"%s: line %d: empty level "
|
||||
"in \"level{n}\"\n",
|
||||
fname, lineno, 0 );
|
||||
return acl_usage();
|
||||
goto fail;
|
||||
}
|
||||
p[0] = '\0';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue