summaryrefslogtreecommitdiff
path: root/dhcpctl
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2014-08-25 13:22:29 -0400
committerThomas Markwalder <tmark@isc.org>2014-08-25 13:22:29 -0400
commit36e2c22493c0f2357aec2ccf4ed37c2eb676bc56 (patch)
tree4b25c231829bb0dbeadc9d2d0255373b089b2d59 /dhcpctl
parenta6365d17d1d8601601539b58f9a3aa03415a6dbb (diff)
downloadisc-dhcp-36e2c22493c0f2357aec2ccf4ed37c2eb676bc56.tar.gz
[master] Corrects high impact issues reported by Coverity.
Merges in rt36712
Diffstat (limited to 'dhcpctl')
-rw-r--r--dhcpctl/dhcpctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dhcpctl/dhcpctl.c b/dhcpctl/dhcpctl.c
index c997e17f..d4d21787 100644
--- a/dhcpctl/dhcpctl.c
+++ b/dhcpctl/dhcpctl.c
@@ -243,6 +243,7 @@ dhcpctl_status dhcpctl_get_boolean (int *result,
}
memcpy (&rv, data -> value, sizeof rv);
*result = ntohl (rv);
+ omapi_data_string_dereference (&data, MDL);
return ISC_R_SUCCESS;
}