Whamcloud - gitweb
LU-4044 build: fix 'resource leak' errors 20/7820/10
authorSebastien Buisson <sebastien.buisson@bull.net>
Wed, 2 Oct 2013 06:43:08 +0000 (08:43 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 19 Nov 2013 14:00:20 +0000 (14:00 +0000)
commita0e74aa58234752ec01c7a056af41fcefd2e43b6
treea54117d7def47532448bdfde1c17494781f97fc6
parent1f38efbe1a5662fa7c3542e243ec987b32874947
LU-4044 build: fix 'resource leak' errors

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

Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: I1039fa8bd5e82acab0ffcb082d35fca28dfb694c
Reviewed-on: http://review.whamcloud.com/7820
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_handler.c
lustre/mgs/mgs_llog.c
lustre/utils/lhsmtool_posix.c