diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-06-14 17:34:57 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-06-14 19:29:27 +0200 |
commit | 4d85f868a515679b983b95e5793df988a048a545 (patch) | |
tree | 012a728f8f11af60449e601a545a00639d5d8556 | |
parent | bgpd: (demo) apply some DEFPY() (diff) | |
download | frr-4d85f868a515679b983b95e5793df988a048a545.tar.xz frr-4d85f868a515679b983b95e5793df988a048a545.zip |
lib: fix CLI parser memleak
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
-rw-r--r-- | lib/command_parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_parse.y b/lib/command_parse.y index 77e4e543a..333748109 100644 --- a/lib/command_parse.y +++ b/lib/command_parse.y @@ -191,7 +191,7 @@ start: varname_token: '$' WORD { - $$ = XSTRDUP (MTYPE_LEX, $2); + $$ = $2; } | /* empty */ { |