rem: free_uri(&uri);
context: int is_from_local(struct sip_msg* _msg, char* _s1, char* _s2){	struct sip_uri uri;	int ret;	if (!_msg->from && ((parse_headers(_msg, HDR_FROM, 0) == -1) || (!_msg->from))) {		LOG(L_ERR, "is_from_local(): Can't find From header\n");		return -1;	}	if (!(_msg->from->parsed)) {		if (parse_from_header(_msg->from) == -1) {			LOG(L_ERR, "is_from_local(): Can't parse from header\n");			return -1;		}	}	if (parse_uri(get_from(_msg)->uri.s, get_from(_msg)->uri.len, &uri) < 0) {		LOG(L_ERR, "is_from_local(): Error while parsing From uri\n");		return -1;	}	ret = is_domain_local(&(uri.host));	free_uri(&uri);	return ret;}