[PATCH 0/5] Memory leaks amended

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux