Ensure free(*dst) doesn't dereference a null pointer.