mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
parent
81d73600c1
commit
92fcb7457c
1 changed files with 1 additions and 5 deletions
|
|
@ -251,11 +251,7 @@ http_malloc(size_t sz, isc_mem_t *mctx) {
|
|||
|
||||
static void *
|
||||
http_calloc(size_t n, size_t sz, isc_mem_t *mctx) {
|
||||
const size_t msize = n * sz;
|
||||
void *data = isc_mem_allocate(mctx, msize);
|
||||
|
||||
memset(data, 0, msize);
|
||||
return (data);
|
||||
return (isc_mem_callocate(mctx, n, sz));
|
||||
}
|
||||
|
||||
static void *
|
||||
|
|
|
|||
Loading…
Reference in a new issue