1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvmetad: fix leak of append on error path

This commit is contained in:
Zdenek Kabelac 2012-10-13 21:04:01 +02:00
parent 6595cae6e9
commit 920352da70

View File

@ -55,7 +55,7 @@ int buffer_append_vf(struct buffer *buf, va_list ap)
if (!append || if (!append ||
!buffer_append(buf, append)) !buffer_append(buf, append))
return 0; goto fail;
dm_free(append); dm_free(append);
} }