Fixed memory leak in hcp_pa.c.
Fixed undefined variable dereference (parsed_len was not initialized if slash was NULL). Could fail randomly on some platforms with non-zeroed stack.