Whamcloud - gitweb
LU-17000 coverity: Fix Resource Leak(1) 84/52384/2
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Fri, 15 Sep 2023 05:54:46 +0000 (11:24 +0530)
committerOleg Drokin <green@whamcloud.com>
Thu, 28 Sep 2023 08:02:07 +0000 (08:02 +0000)
commit4fc998320b51b1730326df5db470b2ca9c1da7c9
tree273e2542766421598330291d50659413e2d8520e
parent4f9957c1e9a0d61087a63b523f3d29ee17904baa
LU-17000 coverity: Fix Resource Leak(1)

This patch fixes Resource leak error reported
by coverity run.

CoverityID: 397493 ("Resource Leak"): liblustreapi_mirror.c
CoverityID: 397494 ("Resource Leak"): lustre_rsync.c

Test-Parameters: trivial fstype=zfs testlist=sanity,sanityn,conf-sanity
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I10e9fd0945cf13824c25faa62b4310796b09bade
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52384
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/liblustreapi_mirror.c
lustre/utils/lustre_rsync.c