summaryrefslogtreecommitdiff
path: root/output/outieee.c
diff options
context:
space:
mode:
Diffstat (limited to 'output/outieee.c')
-rw-r--r--output/outieee.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/output/outieee.c b/output/outieee.c
index c6923fd4..a8f6901c 100644
--- a/output/outieee.c
+++ b/output/outieee.c
@@ -372,7 +372,7 @@ static void ieee_deflabel(char *name, int32_t segment,
i = segment / 2;
eb = ebhead;
if (!eb) {
- eb = *ebtail = nasm_malloc(sizeof(*eb));
+ eb = *ebtail = nasm_zalloc(sizeof(*eb));
eb->next = NULL;
ebtail = &eb->next;
}
@@ -380,7 +380,7 @@ static void ieee_deflabel(char *name, int32_t segment,
if (eb && eb->next)
eb = eb->next;
else {
- eb = *ebtail = nasm_malloc(sizeof(*eb));
+ eb = *ebtail = nasm_zalloc(sizeof(*eb));
eb->next = NULL;
ebtail = &eb->next;
}