diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2026-01-31 17:00:44 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2026-01-31 17:00:44 +0000 |
| commit | b26a7af438f36dcde86f39a681123cc2140affb2 (patch) | |
| tree | 2267880720f2165ff2a50dbdd397aa17cdfb11ac /crypto | |
| parent | 8a8dc73ef87b538c369abc1b642e2a40b52c53c2 (diff) | |
Diffstat (limited to 'crypto')
| -rw-r--r-- | crypto/heimdal/lib/hdb/keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/heimdal/lib/hdb/keys.c b/crypto/heimdal/lib/hdb/keys.c index 9c0af5c47f23..ef6113610009 100644 --- a/crypto/heimdal/lib/hdb/keys.c +++ b/crypto/heimdal/lib/hdb/keys.c @@ -238,7 +238,7 @@ hdb_add_current_keys_to_history(krb5_context context, hdb_entry *entry) hist_keys = &ext->data.u.hist_keys; hist_keys->val = calloc(1, sizeof (*hist_keys->val)); if (hist_keys->val == NULL) { - free(hist_keys); + free(ext); return ENOMEM; } hist_keys->len = 1; |
