Applied change of dmlite_location_free