Fix memory leaks related to get_asf_tmp_dir() and get_asf_share_dir().

Don't think this should be in here twice?