summaryrefslogtreecommitdiffstats
path: root/tests/basic/gfapi/gfapi-async-calls-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/gfapi/gfapi-async-calls-test.c')
-rw-r--r--tests/basic/gfapi/gfapi-async-calls-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/gfapi/gfapi-async-calls-test.c b/tests/basic/gfapi/gfapi-async-calls-test.c
index 58046861668..b9f29a44ac0 100644
--- a/tests/basic/gfapi/gfapi-async-calls-test.c
+++ b/tests/basic/gfapi/gfapi-async-calls-test.c
@@ -21,7 +21,7 @@ fill_iov (struct iovec *iov, char fillchar, int count)
{
int ret = -1;
- iov->iov_base = calloc (count + 1, sizeof(fillchar));
+ iov->iov_base = malloc (count + 1);
if (iov->iov_base == NULL) {
return ret;
} else {