summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Andrews <marka@isc.org>2014-04-29 11:22:37 +1000
committerMark Andrews <marka@isc.org>2014-04-29 11:22:37 +1000
commit9f5dbfc4bd1a76902500ede57f8ef51d32e504cc (patch)
treeaed7186097fa49e7a6cecd7b10d50284d99be167
parent7e4dc84b0b7904842a976ca20f6c63a696c38f6a (diff)
downloadisc-dhcp-9f5dbfc4bd1a76902500ede57f8ef51d32e504cc.tar.gz
bad sizeof call
-rw-r--r--dst/dst_api.c2
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);