Whamcloud - gitweb
LU-12641 libext2fs: memory leak of check_if_lustre_mounted 29/35729/4
authorLi Xi <lixi@ddn.com>
Thu, 8 Aug 2019 08:59:59 +0000 (16:59 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 24 Sep 2020 07:33:04 +0000 (07:33 +0000)
commitb31bf039cb8d54a6e39e8d1308e8418c7c6413a2
treeb7a0db170f1561cf70a3989d494d19cb66b10171
parent7432f421b844b5cc6c84db05454d7cfdba1d449f
LU-12641 libext2fs: memory leak of check_if_lustre_mounted

check_if_lustre_mounted() doesn't free the allocated memory
if failure.

Change-Id: I36b5c1e981ca4f1db8c9515be29dd98c074d14dc
Signed-off-by: Li Xi <lixi@ddn.com>
Reviewed-on: https://review.whamcloud.com/35729
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lib/ext2fs/ismounted.c