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:21 +0000 (18:24 -0400)
commit3f8a491bbfaebc392d0512f3d15d917e25c23ed8
tree9b03701c2d6a4729a62447e9f14426f6fef1fe4d
parent27b0d0f2add71c1b1b2bf5b8f75b977d7d936f53
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