summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Oliver <protogonoi@gmail.com>2017-04-04 00:34:47 +1000
committerPeter Johnson <johnson.peter@gmail.com>2017-09-23 15:11:49 -0700
commit74184586228af6c362f970c84fce58da3fcbdec8 (patch)
treeb9e7e690e5fcbe4f2ef6540cad3913af3b7f2dd4
parent85dad85f7c282967176dec38835dedaf1322a25f (diff)
downloadyasm-74184586228af6c362f970c84fce58da3fcbdec8.tar.gz
fix memory errors when using gas processor with coff object output.
-rw-r--r--modules/objfmts/coff/coff-objfmt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/objfmts/coff/coff-objfmt.c b/modules/objfmts/coff/coff-objfmt.c
index 6fcb0e3c..8f753bfe 100644
--- a/modules/objfmts/coff/coff-objfmt.c
+++ b/modules/objfmts/coff/coff-objfmt.c
@@ -290,6 +290,7 @@ coff_common_create(yasm_object *object)
objfmt_coff->done_prolog = 0;
objfmt_coff->unwind = NULL;
objfmt_coff->ssym_imagebase = NULL;
+ objfmt_coff->def_sym = NULL;
return objfmt_coff;
}