fix leak in the syntax file