Make free_packet segfault on null argument