Fix memory leak in fhs_UrlEncode