(acl_parse_format): tmp needs to be freed too on failure to parse
format specifier. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16345 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -101,6 +101,7 @@ acl_parse_format(krb5_context context,
|
||||
krb5_set_error_string(context, "acl_parse_format: "
|
||||
"unknown format specifier %c", *p);
|
||||
acl_free_list(acl, 0);
|
||||
free(tmp);
|
||||
return EINVAL;
|
||||
}
|
||||
tmp->next = NULL;
|
||||
|
Reference in New Issue
Block a user