Blame SOURCES/lvm2-2_02_185-bcache-Fix-memory-leak.patch

f8f52d
 lib/device/bcache.c | 1 +
f8f52d
 1 file changed, 1 insertion(+)
f8f52d
f8f52d
diff --git a/lib/device/bcache.c b/lib/device/bcache.c
f8f52d
index 7384a32..f64931f 100644
f8f52d
--- a/lib/device/bcache.c
f8f52d
+++ b/lib/device/bcache.c
f8f52d
@@ -411,6 +411,7 @@ static bool _sync_issue(struct io_engine *ioe, enum dir d, int fd,
f8f52d
 				  (unsigned long long)offset,
f8f52d
 				  (unsigned long long)nbytes,
f8f52d
 				  (unsigned long long)_last_byte_offset);
f8f52d
+			free(io);
f8f52d
 			return false;
f8f52d
 		}
f8f52d