Commit 9f4c3b0d authored by hheennrryy@gmail.com's avatar hheennrryy@gmail.com Committed by isaacs
Browse files

http: check if incoming parser has already been freed

Fix #4948

This adds a check before setting the incoming parser
to null. Under certain circumstances it'll already be set to
null by freeParser().

Otherwise this will cause node to crash as it tries to set
null on something that is already null.
parent ea30ca95
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment