summaryrefslogtreecommitdiffstats
path: root/lib/command_parse.y
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-10-01 01:16:29 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-10-01 01:16:29 +0200
commitf66625df514f7b617d3b1c39a394fa0732297499 (patch)
treee3f935118d452359172fe98b742510716d1b530c /lib/command_parse.y
parentlib, vtysh: refactor vtysh.c, allow parser continuance (diff)
downloadfrr-f66625df514f7b617d3b1c39a394fa0732297499.tar.xz
frr-f66625df514f7b617d3b1c39a394fa0732297499.zip
lib: fix double free in parser
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_parse.y')
-rw-r--r--lib/command_parse.y1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/command_parse.y b/lib/command_parse.y
index 88dbbb137..2d8881689 100644
--- a/lib/command_parse.y
+++ b/lib/command_parse.y
@@ -292,7 +292,6 @@ selector_seq_seq:
// link in last sequence
graph_add_edge ($$->start, $3->start);
graph_add_edge ($3->end, $$->end);
- free ($3);
for (unsigned int i = 0; i < vector_active ($1->start->to); i++)
{