Adding missing frees