Don't risk the double free, use switch_safe_free here same as in ~15 lines.
While sofia does garbage collection, in other locations we still call su_free after calls to sip_header_as_string. So adding it here too since we've finished using the full_contact variable.
How did the use after free not blowup in the last 3 years since it was modified?