Skip to content
Permalink
Browse files

Config Parser: Do not free filename buffers

... as they are referenced all over the place by the (struct action *)
elements of the action tree.

Kudos to Vlad Patrascu for catching this one!
  • Loading branch information
liviuchircu committed Mar 1, 2019
1 parent fdefec4 commit 0b9c7bf0f1c1db0df772861c7590a852ed2a873b
Showing with 0 additions and 2 deletions.
  1. +0 −2 cfg_pp.c
@@ -360,8 +360,6 @@ int cfg_pop(void)
return -1;
}

free(*cfg_include_stackp);

if (cfg_include_stackp == cfg_include_stack) {
cfg_include_stackp = NULL;
} else {

0 comments on commit 0b9c7bf

Please sign in to comment.
You can’t perform that action at this time.