From: Quentin Young Date: Fri, 30 Sep 2016 23:16:29 +0000 (+0000) Subject: lib: fix double free in parser X-Git-Tag: frr-3.0-branchpoint~129^2~112 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=f66625df514f7b617d3b1c39a394fa0732297499;p=matthieu%2Ffrr.git lib: fix double free in parser Signed-off-by: Quentin Young --- diff --git a/lib/command_parse.y b/lib/command_parse.y index 88dbbb137a..2d8881689d 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++) {