1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

Reset parsing queue on EOF.

This commit is contained in:
Dave Davenport 2017-01-08 16:16:09 +01:00
parent c57e7348d2
commit 3944a5bde2

View file

@ -308,6 +308,8 @@ if ( queue == NULL ){
} }
<INITIAL><<EOF>> { <INITIAL><<EOF>> {
g_queue_free ( queue ); g_queue_free ( queue );
// Reset pointer to NULL
queue = NULL;
yyterminate(); yyterminate();
} }