Use recallocarray() consistently. recallocarray() was introduced to simplify
authorclaudio <claudio@openbsd.org>
Wed, 21 Jun 2023 13:11:49 +0000 (13:11 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 21 Jun 2023 13:11:49 +0000 (13:11 +0000)
commitedc829431effa915c16b067b5da3c6ab86b7fbca
tree21c74be4d3f9344cbce29fc402a00c1c8454dc64
parente46ff49b6d65a5969b658698445d284099516ef9
Use recallocarray() consistently. recallocarray() was introduced to simplify
exactly this use case where the new memory needs to be zeroed during resize.
Since recallocarray() takes care of all this there is no need to bzero()
memory anymore.

OK tb@ millert@
lib/libc/stdio/open_memstream.c
lib/libc/stdio/open_wmemstream.c