summaryrefslogtreecommitdiff
path: root/src/cli_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli_new.c')
-rw-r--r--src/cli_new.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cli_new.c b/src/cli_new.c
index c0fb845..630bf9f 100644
--- a/src/cli_new.c
+++ b/src/cli_new.c
@@ -1340,6 +1340,9 @@ void free_def(vtw_def *defp)
free_node_tree(defp->actions[act].vtw_list_head);
if (defp->def_type_help)
my_free(defp->def_type_help);
+ if (defp->def_node_help) {
+ my_free(defp->def_node_help);
+ }
if (defp->def_default)
my_free(defp->def_default);
}