Whamcloud - gitweb
LU-4044 build: fix 'resource leak' errors 94/12394/3
authorSebastien Buisson <sebastien.buisson@bull.net>
Wed, 2 Oct 2013 06:43:08 +0000 (08:43 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 1 Dec 2014 04:18:14 +0000 (04:18 +0000)
commita4a4088181751c0de9141b0a315f8b6d57e0be90
tree9b8546279b185e21afc22c3e65f20e377ab752bd
parentf6b32c44806aa37c0d43fd4e01b4fecb7fa60c1c
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>
Reviewed-on: http://review.whamcloud.com/12394
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_handler.c
lustre/mgs/mgs_llog.c
lustre/utils/lhsmtool_posix.c