]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: fix double free in parser
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 30 Sep 2016 23:16:29 +0000 (23:16 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 30 Sep 2016 23:16:29 +0000 (23:16 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/command_parse.y

index 88dbbb137ae4f2b1e6bda95da384b1caae5baa2b..2d8881689daf21c736d7a40661f4db2e5a11ae1c 100644 (file)
@@ -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++)
   {