linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Memory leaks amended
@ 2013-09-05  2:38 Gui Hecheng
  2013-09-05  2:38 ` [PATCH 1/5] btrfs-progs:free local variable buf upon unsuccessful returns Gui Hecheng
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Gui Hecheng @ 2013-09-05  2:38 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Gui Hecheng

Memory leaks found by the tool--valgrind along with static reviewing.

Based on Daivd's branch 'integration-20130903'.

Gui Hecheng (5):
  btrfs-progs:free local variable buf upon unsuccessful returns
  btrfs-progs:local variable memory freed
  btrfs-progs: missing tree-freeing statements added
  btrfs-progs:free the local list pending_list in btrfs_scan_one_dir
  btrfs-progs:free strdup()s that are not freed

 btrfs-image.c    |  2 ++
 cmds-check.c     |  5 +++++
 cmds-subvolume.c | 48 ++++++++++++++++++++++++++++++++++--------------
 mkfs.c           | 12 +++++++++++-
 utils.c          | 10 ++++++++--
 5 files changed, 60 insertions(+), 17 deletions(-)

-- 
1.8.0.1


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

end of thread, other threads:[~2013-09-09 14:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-05  2:38 [PATCH 0/5] Memory leaks amended Gui Hecheng
2013-09-05  2:38 ` [PATCH 1/5] btrfs-progs:free local variable buf upon unsuccessful returns Gui Hecheng
2013-09-05  2:38 ` [PATCH 2/5] btrfs-progs:local variable memory freed Gui Hecheng
2013-09-09 14:18   ` David Sterba
2013-09-09 14:22     ` David Sterba
2013-09-05  2:38 ` [PATCH 3/5] btrfs-progs: missing tree-freeing statements added Gui Hecheng
2013-09-05  2:38 ` [PATCH 4/5] btrfs-progs:free the local list pending_list in btrfs_scan_one_dir Gui Hecheng
2013-09-05  2:38 ` [PATCH 5/5] btrfs-progs:free strdup()s that are not freed Gui Hecheng
2013-09-05  7:00   ` Stefan Behrens
2013-09-05  7:10     ` Stefan Behrens
2013-09-05  8:08       ` Gui Hecheng
2013-09-05  8:10         ` Wang Shilong
2013-09-09 14:40       ` David Sterba

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).