Whamcloud - gitweb
LU-16568 lfs: call Parser_exit() at lfs/lctl exit 39/50039/6
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Fri, 17 Feb 2023 03:38:29 +0000 (22:38 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 1 Mar 2023 06:19:00 +0000 (06:19 +0000)
commit5ad50246c0ecd9e704dbd26be4e19e0571721016
treeee2187ca0181d63681f65dbc06e529f054934608
parent9968be808016bd2f5e349bc4c2216c445d0d65ad
LU-16568 lfs: call Parser_exit() at lfs/lctl exit

Call Parser_exit() before lfs and lctl cleanly exit
to free memory allocated in Parser_init() via strdup().

Test-Parameters: trivial fstype=zfs testlist=sanity
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I1bc86d4b17f62a545e51fb3e479b2576e6362c42
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50039
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: jsimmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/utils/lctl.c
lustre/utils/lfs.c