path: root/tests
diff options
authorPablo Neira Ayuso <>2016-03-15 17:15:10 +0100
committerPablo Neira Ayuso <>2016-03-15 17:32:33 +0100
commit0099203ce8a42296eb7a599f47f670a13c6ee033 (patch)
treed0d05c3451ceafa158fbe2194a697efb96ee7dc0 /tests
parent20ede88a51cf99dfaec539f13149a81d67a98a69 (diff)
parser_bison: release parsed type and hook name strings
The scanner allocates memory for this, so release them given that we don't attach them to any object. ==6277== 42 bytes in 6 blocks are definitely lost in loss record 2 of 4 ==6277== at 0x4C28C20: malloc (vg_replace_malloc.c:296) ==6277== by 0x57AC9D9: strdup (strdup.c:42) ==6277== by 0x41B82D: xstrdup (utils.c:64) ==6277== by 0x41F510: nft_lex (scanner.l:511) ==6277== by 0x427FD1: nft_parse (parser_bison.c:3690) ==6277== by 0x4063AC: nft_run (main.c:231) ==6277== by 0x40600C: main (main.c:361) Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions