preproc: expand_smacro -- Fix nil dereference on error path
commit980dd658b521afe4a688c4195410c4449a8e2468
authorCyrill Gorcunov <gorcunov@gmail.com>
Sun, 14 Oct 2018 16:25:32 +0000 (14 19:25 +0300)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sun, 14 Oct 2018 16:25:32 +0000 (14 19:25 +0300)
tree50bdc8d846c8c68cad592bb08763b04ac228faea
parentceec0d818798aeaa75ed4907e6135b0247ed46b2
preproc: expand_smacro -- Fix nil dereference on error path

When error happened earlier we might have a.mac already
handled and set to nil.

https://bugzilla.nasm.us/show_bug.cgi?id=3392508

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
asm/preproc.c