netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nft PATCH 0/4] Memleak fixes and some minor cleanups
@ 2017-08-24 17:14 Phil Sutter
  2017-08-24 17:14 ` [nft PATCH 1/4] scanner: Fix for memleak due to unclosed file pointer Phil Sutter
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Phil Sutter @ 2017-08-24 17:14 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel

The following series fixes two sources of memleaks as reported by
valgrind (see patches 1 and 4). Patches 2 and 3 contain some minor
cleanups I found while searching for the leaks.

Phil Sutter (4):
  scanner: Fix for memleak due to unclosed file pointer
  scanner: Fix for wrong parameter type of scanner_destroy()
  scanner: Make use of yylex_init_extra()
  parser: Fix for memleak when commands fail

 include/nftables.h |  2 +-
 include/parser.h   |  2 +-
 src/erec.c         | 11 +++++------
 src/main.c         |  2 +-
 src/parser_bison.y |  2 ++
 src/scanner.l      |  8 ++++----
 6 files changed, 14 insertions(+), 13 deletions(-)

-- 
2.13.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-24 17:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-24 17:14 [nft PATCH 0/4] Memleak fixes and some minor cleanups Phil Sutter
2017-08-24 17:14 ` [nft PATCH 1/4] scanner: Fix for memleak due to unclosed file pointer Phil Sutter
2017-08-24 17:14 ` [nft PATCH 2/4] scanner: Fix for wrong parameter type of scanner_destroy() Phil Sutter
2017-08-24 17:14 ` [nft PATCH 3/4] scanner: Make use of yylex_init_extra() Phil Sutter
2017-08-24 17:14 ` [nft PATCH 4/4] parser: Fix for memleak when commands fail Phil Sutter
2017-08-24 17:19 ` [nft PATCH 0/4] Memleak fixes and some minor cleanups Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).