Whamcloud - gitweb
LU-1884 build: fix 'resource leak' errors
authorSebastien Buisson <sebastien.buisson@bull.net>
Tue, 11 Sep 2012 07:43:22 +0000 (09:43 +0200)
committerOleg Drokin <green@whamcloud.com>
Mon, 17 Sep 2012 22:24:01 +0000 (18:24 -0400)
commit1ba7eb520d6f50908985b45cb1aecad83bdf9c63
treec18bffbb8e7c5d4b1a6c009cf4d4ef2505562b09
parent0b387df6023f651053ab525cbc3f7aba5a87e62c
LU-1884 build: fix 'resource leak' errors

Fix 'resource leak' defects found by Coverity version 6.0.3:
Resource leak (RESOURCE_LEAK)
Variable going out of scope leaks the storage it points to.

Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
Change-Id: I6fe04d30c209d164ac8c741497c675a33ffcca6d
Reviewed-on: http://review.whamcloud.com/3934
Tested-by: Hudson
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Keith Mannthey <keith@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/libcfs/linux/linux-proc.c
lustre/llite/llite_lib.c
lustre/lmv/lmv_intent.c
lustre/obdfilter/filter_log.c
lustre/ptlrpc/service.c
lustre/tests/flocks_test.c
lustre/utils/lfs.c
lustre/utils/liblustreapi.c
lustre/utils/llverfs.c
lustre/utils/lustre_rsync.c
lustre/utils/mount_utils_ldiskfs.c