(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:
Love Hörnquist Åstrand
2005-12-02 15:33:47 +00:00
parent 2b64016a93
commit 828197fc78

View File

@@ -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;