http_parse.c: fix a false memory leak.

 * just for the fun, but this should never occur.
 * add an assert for debug mode.