diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-06 16:41:44 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-06 16:41:44 -0800 |
commit | 95887fd39f57ce0e81169140605c81e70a1a4734 (patch) | |
tree | bb970925df7ae4d2c4f81591f5e57c06f9d65bd2 /src/cli_new.c | |
parent | 6482033bfb5b515f6fd6e05b65439231e374a5cb (diff) | |
download | vyatta-cfg-95887fd39f57ce0e81169140605c81e70a1a4734.tar.gz vyatta-cfg-95887fd39f57ce0e81169140605c81e70a1a4734.zip |
fix for bug 2273: cli parser was overwriting "type help" with "node help".
Diffstat (limited to 'src/cli_new.c')
-rw-r--r-- | src/cli_new.c | 3 |
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); } |