summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/malloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/malloc.c b/src/lib/libc/stdlib/malloc.c
index 89c8bbb900..536cd435d9 100644
--- a/src/lib/libc/stdlib/malloc.c
+++ b/src/lib/libc/stdlib/malloc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: malloc.c,v 1.185 2016/03/17 17:55:33 mmcc Exp $ */ 1/* $OpenBSD: malloc.c,v 1.186 2016/04/09 12:23:59 otto Exp $ */
2/* 2/*
3 * Copyright (c) 2008, 2010, 2011 Otto Moerbeek <otto@drijf.net> 3 * Copyright (c) 2008, 2010, 2011 Otto Moerbeek <otto@drijf.net>
4 * Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org> 4 * Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org>
@@ -703,7 +703,6 @@ omalloc_grow(struct dir_info *d)
703 return 1; 703 return 1;
704 704
705 STATS_ADD(d->malloc_used, newsize); 705 STATS_ADD(d->malloc_used, newsize);
706 memset(p, 0, newsize);
707 STATS_ZERO(d->inserts); 706 STATS_ZERO(d->inserts);
708 STATS_ZERO(d->insert_collisions); 707 STATS_ZERO(d->insert_collisions);
709 for (i = 0; i < d->regions_total; i++) { 708 for (i = 0; i < d->regions_total; i++) {