Do not free the packet if it failed to generate.