diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-01-08 16:16:09 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-01-08 16:16:09 +0100 |
commit | 3944a5bde21f0d87b4e834be01e79a802e3a708e (patch) | |
tree | 9983ae783d533d1d3c3e42ee6d81189870add32f | |
parent | c57e7348d2e34c7eb27fafa73b40602725ea315a (diff) |
Reset parsing queue on EOF.
-rw-r--r-- | lexer/theme-lexer.l | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lexer/theme-lexer.l b/lexer/theme-lexer.l index 9711147f..5a7540c1 100644 --- a/lexer/theme-lexer.l +++ b/lexer/theme-lexer.l @@ -308,6 +308,8 @@ if ( queue == NULL ){ } <INITIAL><<EOF>> { g_queue_free ( queue ); + // Reset pointer to NULL + queue = NULL; yyterminate(); } |