mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +00:00
bad sizeof call
This commit is contained in:
@@ -1027,7 +1027,7 @@ dst_free_key(DST_KEY *f_key)
|
||||
f_key->dk_alg));
|
||||
}
|
||||
if (f_key->dk_KEY_struct) {
|
||||
SAFE_FREE2(f_key->dk_KEY_struct, sizeof(f_key->dk_KEY_struct));
|
||||
SAFE_FREE2(f_key->dk_KEY_struct, sizeof(*f_key->dk_KEY_struct));
|
||||
}
|
||||
if (f_key->dk_key_name)
|
||||
SAFE_FREE(f_key->dk_key_name);
|
||||
|
Reference in New Issue
Block a user