master - lvmetad: fix leak of append on error path
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=920352da70245f9b385aa0465f9ee88091676371 Commit: 920352da70245f9b385aa0465f9ee88091676371 Parent: 6595cae6e9b65658430714b9731b604c036d0816 Author: Zdenek Kabelac <[email protected]> AuthorDate: Sat Oct 13 21:04:01 2012 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Sun Oct 14 23:14:48 2012 +0200
lvmetad: fix leak of append on error path
--- libdaemon/client/config-util.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
libdaemon/client/config-util.c +1 -1
@@ -55,7 +55,7 @@ int buffer_append_vf(struct buffer *buf, va_list ap)if (!append || !buffer_append (buf, append)) -return 0 ; + goto fail;dm_free (append); }