commit - da506691d2d9491c869110f2ee209ae3014c7273
commit + 6331840f5347a764cfa02bb5c650ed9ec87dda6d
blob - d393031f5f1064c32785a460c7f37e6c85673645
blob + 3986b17e44eecf61ea0e972208e12e87099dfe66
--- lib/inflate.c
+++ lib/inflate.c
*outbuf = malloc(GOT_INFLATE_BUFSIZE);
if (*outbuf == NULL)
- return got_error_from_errno("calloc");
+ return got_error_from_errno("malloc");
err = got_inflate_init(&zb, *outbuf, GOT_INFLATE_BUFSIZE);
if (err)
return err;
*outbuf = malloc(GOT_INFLATE_BUFSIZE);
if (*outbuf == NULL)
- return got_error_from_errno("calloc");
+ return got_error_from_errno("malloc");
err = got_inflate_init(&zb, *outbuf, GOT_INFLATE_BUFSIZE);
if (err)
goto done;
*outbuf = malloc(GOT_INFLATE_BUFSIZE);
if (*outbuf == NULL)
- return got_error_from_errno("calloc");
+ return got_error_from_errno("malloc");
err = got_inflate_init(&zb, *outbuf, GOT_INFLATE_BUFSIZE);
if (err) {
free(*outbuf);