summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2001-10-02 22:32:41 +0000
committerHans Insulander <hin@cvs.openbsd.org>2001-10-02 22:32:41 +0000
commitaf95c9eb9c8669d11d3bfc3c3d2cc3385d3ff711 (patch)
treeef763fd5cc18caa5d18641887778663a48a2def6
parentaeba7413f8d2b16010c88fbf9916944f6c673274 (diff)
Fix this obvious double free() that's been found and fixed my numerous
people. I'd really have liked to import a new heimdal release, but i do not have the time to test it enough before 3.0. Post-release, a newer heimdal with _lots_ of bugfixes will be imported. This is a very unfortunate situation, i truly regret it and wish i had more time to spend on this.
-rw-r--r--kerberosV/src/lib/krb5/keytab_any.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kerberosV/src/lib/krb5/keytab_any.c b/kerberosV/src/lib/krb5/keytab_any.c
index 784f3fe5798..07b142e41cd 100644
--- a/kerberosV/src/lib/krb5/keytab_any.c
+++ b/kerberosV/src/lib/krb5/keytab_any.c
@@ -139,7 +139,6 @@ any_start_seq_get(krb5_context context,
ed->a = a;
ret = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor);
if (ret) {
- free (ed);
free (c->data);
c->data = NULL;
krb5_set_error_string (context, "malloc: out of memory");