]> git.puffer.fish Git - mirror/frr.git/commit
lib: parser: fix allocation counting
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 26 Jan 2017 21:19:32 +0000 (22:19 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 31 Jan 2017 14:28:19 +0000 (15:28 +0100)
commit55b7f20fda27ad22d211e7b881194fc414687274
tree1e3cbf91a98931632d5210c0a2990959874d42f0
parent26df3a33ae91edfdb5b69817050f773c430001ff
lib: parser: fix allocation counting

command_lex.l was allocating as MTYPE_TMP, while command_parse.y would
just call free().  Make both use MTYPE_LEX.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/command_lex.l
lib/command_parse.y