aboutsummaryrefslogtreecommitdiff
path: root/bfd/seclet.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/seclet.c')
-rw-r--r--bfd/seclet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/seclet.c b/bfd/seclet.c
index c26f7b4..9da4eb0 100644
--- a/bfd/seclet.c
+++ b/bfd/seclet.c
@@ -113,7 +113,7 @@ DEFUN(seclet_dump_seclet,(abfd, seclet, section, data),
case bfd_fill_seclet:
/* Fill in the section with us */
{
- char *d = malloc(seclet->size);
+ char *d = bfd_xmalloc(seclet->size);
unsigned int i;
for (i =0; i < seclet->size; i+=2) {
d[i] = seclet->u.fill.value >> 8;