summaryrefslogtreecommitdiff
path: root/sbin/dhclient/clparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dhclient/clparse.c')
-rw-r--r--sbin/dhclient/clparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/clparse.c b/sbin/dhclient/clparse.c
index aec5a702ac2..afd1e65f209 100644
--- a/sbin/dhclient/clparse.c
+++ b/sbin/dhclient/clparse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clparse.c,v 1.53 2013/02/09 23:37:21 krw Exp $ */
+/* $OpenBSD: clparse.c,v 1.54 2013/03/21 12:41:12 krw Exp $ */
/* Parser for dhclient config and lease files... */
@@ -432,7 +432,7 @@ parse_client_lease_statement(FILE *cfile, int is_static)
token = peek_token(NULL, cfile);
if (token == EOF) {
parse_warn("unterminated lease declaration.");
- free(lease);
+ free_client_lease(lease);
return;
}
if (token == '}')