From: David Teigland <teigland@sourceware.org>
To: lvm-devel@redhat.com
Subject: master - lvmcache: free vginfo lock_type
Date: Thu, 14 May 2020 15:20:55 +0000 (GMT) [thread overview]
Message-ID: <20200514152055.AAABA396E853@sourceware.org> (raw)
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);
}
reply other threads:[~2020-05-14 15:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200514152055.AAABA396E853@sourceware.org \
--to=teigland@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.