Fix memory leakage after memory allocation failure.
Fix memory leakage after memory allocation failure.

OISF/libhtp,wxsBSD/libhtp,glongo/libhtp,montekki/libhtp,OISF/libhtp,wxsBSD/libhtp,wxsBSD/libhtp,glongo/libhtp,glongo/libhtp,OISF/libhtp,wxsBSD/libhtp,montekki/libhtp,montekki/libhtp,montekki/libhtp,glongo/libhtp,glongo/libhtp,OISF/libhtp,montekki/libhtp,OISF/libhtp,wxsBSD/libhtp,wxsBSD/libhtp,montekki/libhtp,OISF/libhtp,montekki/libhtp,OISF/libhtp,glongo/libhtp,wxsBSD/libhtp,glongo/libhtp