summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/compat.c b/compat.c
index af57ac3..e23fd76 100644
--- a/compat.c
+++ b/compat.c
@@ -158,10 +158,9 @@ NextInterp(CompatInfo * info)
{
SymInterpInfo *si;
- si = malloc(sizeof(SymInterpInfo));
+ si = calloc(1, sizeof(SymInterpInfo));
if (si)
{
- bzero(si, sizeof(SymInterpInfo));
info->interps =
(SymInterpInfo *) AddCommonInfo(&info->interps->defs,
(CommonInfo *) si);