lex_try_pragma: free the buffers