fix memory leak in calloc_packet_info

memory leak would happen when multiple parse_packet was called on the same buffer.