All of lore.kernel.org
 help / color / mirror / Atom feed
* master - lvmcache: free vginfo lock_type
@ 2020-05-14 15:20 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2020-05-14 15:20 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=2a304d7a75b572282c288c60497c7c489e7c3cbd
Commit:        2a304d7a75b572282c288c60497c7c489e7c3cbd
Parent:        5c095400de2f84511726cc8178800d19657b814d
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Thu May 14 10:20:08 2020 -0500
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Thu May 14 10:20:08 2020 -0500

lvmcache: free vginfo lock_type

---
 lib/cache/lvmcache.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/cache/lvmcache.c b/lib/cache/lvmcache.c
index b8575ff62..6cb5ff0d8 100644
--- a/lib/cache/lvmcache.c
+++ b/lib/cache/lvmcache.c
@@ -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);
 }
 



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-14 15:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 15:20 master - lvmcache: free vginfo lock_type David Teigland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.