master - lvmcache: free vginfo lock_type
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=2a304d7a75b572282c288c60497c7c489e7c3cbd Commit: 2a304d7a75b572282c288c60497c7c489e7c3cbd Parent: 5c095400de2f84511726cc8178800d19657b814d Author: David Teigland <[email protected]> AuthorDate: Thu May 14 10:20:08 2020 -0500 Committer: David Teigland <[email protected]> CommitterDate: Thu May 14 10:20:08 2020 -0500
lvmcache: free vginfo lock_type
--- lib/cache/lvmcache.c | 2 ++ 1 file changed, 2 insertions(+)
lib/cache/lvmcache.c +2 -0
@@ -1189,6 +1189,8 @@ static void _free_vginfo(struct lvmcache_vginfo *vginfo)free (vginfo->vgname);free (vginfo->system_id);free (vginfo->creation_host); +if (vginfo->lock_type) +free (vginfo->lock_type);free (vginfo); }