I fixed some problems reported by cppcheck: [disk-io.c:462]: (error) Memory leak: log_root [utils.c:983]: (error) Memory leak: fullpath
Patch set based on: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git#master commit 91d9eec1ff044394f2b98ee7fcb76713dd33b994 Author: Chris Mason <[email protected]> Date: Thu Oct 4 20:35:31 2012 -0400 Kenji Okimoto (3): btrfs-progs: plug a memory leak reported by cppcheck btrfs-progs: check malloc() result btrfs-progs: plug memory leaks in btrfs_scan_one_dir() reported by cppcheck. disk-io.c | 13 +++++++++++-- utils.c | 3 +++ 2 files changed, 14 insertions(+), 2 deletions(-) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
