Fixed memory management around hc_url in m2 actions.