26 строки
844 B
Diff
26 строки
844 B
Diff
From 168febbc155c832439be9500452ebe39994d2309 Mon Sep 17 00:00:00 2001
|
|
From: "K. Gondow" <gondow@cs.titech.ac.jp>
|
|
Date: Sat, 10 Jun 2023 06:03:05 +0900
|
|
Subject: [PATCH] fix issue #210
|
|
|
|
Signed-off-by: Henry Beberman <henry.beberman@microsoft.com>
|
|
---
|
|
modules/objfmts/bin/bin-objfmt.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/modules/objfmts/bin/bin-objfmt.c b/modules/objfmts/bin/bin-objfmt.c
|
|
index 18026750c..a38c3422a 100644
|
|
--- a/modules/objfmts/bin/bin-objfmt.c
|
|
+++ b/modules/objfmts/bin/bin-objfmt.c
|
|
@@ -1680,6 +1680,10 @@ static void
|
|
bin_section_data_destroy(void *data)
|
|
{
|
|
bin_section_data *bsd = (bin_section_data *)data;
|
|
+ if (bsd->align)
|
|
+ yasm_xfree(bsd->align);
|
|
+ if (bsd->valign)
|
|
+ yasm_xfree(bsd->valign);
|
|
if (bsd->start)
|
|
yasm_expr_destroy(bsd->start);
|
|
if (bsd->vstart)
|