commit | 403fd722ace1d98d3cfe17bbee1382bf58040466 | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Thu Apr 08 20:05:23 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Apr 08 20:11:58 2021 +0200 |
tree | c1db02207d10234cdc037e7fea80fc09cb5a0588 | |
parent | fea59fcf7903bc65d3f3579687a774100d837cb0 [diff] [blame] |
CLEANUP: Remove useless malloc() casts This is not C++.
diff --git a/src/http_htx.c b/src/http_htx.c index a7951c0..53732d1 100644 --- a/src/http_htx.c +++ b/src/http_htx.c
@@ -909,7 +909,7 @@ } buf->size = global.tune.bufsize; - buf->area = (char *)malloc(buf->size); + buf->area = malloc(buf->size); if (!buf->area) goto error;