Remove leaked temp_context allocation