all of the members of the apr_bucket struct are always explicitly
initialized anyway... malloc() should be used instead.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89389
13f79535-47bb-0310-9956-
ffa450edef68
AP_DECLARE(apr_bucket *) ap_bucket_error_create(int error,
const char *buf, apr_pool_t *p)
{
- apr_bucket *b = (apr_bucket *)calloc(1, sizeof(*b));
+ apr_bucket *b = (apr_bucket *)malloc(sizeof(*b));
APR_BUCKET_INIT(b);
return ap_bucket_error_make(b, error, buf, p);