[PATCH] Fix SIGSEGV on unterminated preprocessor conditional
sparse segfaults with the following input:
---
#ifdef notdef
oops!
---
The segfault occurs at pre-processor.c:free_preprocessor_line()
because of the extra calls of handle_endif done in do_preproccess()
while trying to do error recoverage.
Fix it by not trying to free the non-existent token line in the
faked endif handling.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@looxix.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>