engine: do not free static struct