From 7c5e224992883710986a43e2fec3e14508e96a5f Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Tue, 22 Apr 2014 12:00:48 -0400 Subject: [PATCH] note a leak that needs fixing eventually --- random-address.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/random-address.c b/random-address.c index 5987b64..7d2a9d0 100644 --- a/random-address.c +++ b/random-address.c @@ -160,7 +160,7 @@ struct iovec * alloc_iovec(unsigned int num) { struct iovec *iov; - iov = malloc(num * sizeof(struct iovec)); + iov = malloc(num * sizeof(struct iovec)); // FIXME: LEAK if (iov != NULL) { unsigned int i; -- 2.11.4.GIT