summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/nvo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/nvo.c b/src/core/nvo.c
index 14ed4e194..8c6c9c0f2 100644
--- a/src/core/nvo.c
+++ b/src/core/nvo.c
@@ -194,7 +194,7 @@ int nvo_register ( struct nvo_block *nvo ) {
return 0;
err:
- free_dhcp_options ( nvo->options );
+ dhcpopt_put ( nvo->options );
nvo->options = NULL;
return rc;
}
@@ -208,7 +208,7 @@ void nvo_unregister ( struct nvo_block *nvo ) {
if ( nvo->options ) {
unregister_dhcp_options ( nvo->options );
- free_dhcp_options ( nvo->options );
+ dhcpopt_put ( nvo->options );
nvo->options = NULL;
}