Fix doublee free of alias after map add failure