* resrc.c (close_input_stream): zero out cpp_pipe after closing it.
This commit is contained in:
parent
2114f57b93
commit
3b35ec75cb
2 changed files with 8 additions and 1 deletions
|
@ -499,7 +499,10 @@ static void
|
|||
close_input_stream ()
|
||||
{
|
||||
if (cpp_pipe != NULL)
|
||||
pclose (cpp_pipe);
|
||||
{
|
||||
pclose (cpp_pipe);
|
||||
cpp_pipe = NULL;
|
||||
}
|
||||
|
||||
if (istream_type == ISTREAM_FILE)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue