context: remove superfluous malloc