diff options
author | Mark Andrews <marka@isc.org> | 2014-04-29 11:22:37 +1000 |
---|---|---|
committer | Mark Andrews <marka@isc.org> | 2014-04-29 11:22:37 +1000 |
commit | 9f5dbfc4bd1a76902500ede57f8ef51d32e504cc (patch) | |
tree | aed7186097fa49e7a6cecd7b10d50284d99be167 | |
parent | 7e4dc84b0b7904842a976ca20f6c63a696c38f6a (diff) | |
download | isc-dhcp-9f5dbfc4bd1a76902500ede57f8ef51d32e504cc.tar.gz |
bad sizeof call
-rw-r--r-- | dst/dst_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dst/dst_api.c b/dst/dst_api.c index 7080868d..04cd3d44 100644 --- a/dst/dst_api.c +++ b/dst/dst_api.c @@ -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); |