preproc.c: Fix SIGSEV on missed %endm
commita327c65d28fa31f924166f3b5da7feaa73cc124c
authorCyrill Gorcunov <gorcunov@gmail.com>
Sun, 14 Feb 2010 14:19:38 +0000 (14 17:19 +0300)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sun, 14 Feb 2010 14:27:10 +0000 (14 17:27 +0300)
tree3d6f79b19e95da11187531c7df4076da0db47c12
parentbebf0d2157951250d91390fceac8a51fbc08c3a1
preproc.c: Fix SIGSEV on missed %endm

In case if EOF is reached (or due to any
other case pp_cleanup is being called) we
do free "defining" macro but forgot to set
pointer to NULL itself which leads to attempt
to free memory again for this macro on further
pp_cleanup calls.
preproc.c