mirror of
https://github.com/davatorium/rofi.git
synced 2025-01-27 15:25:24 -05:00
Free was too early.
This commit is contained in:
parent
b4cc0f611b
commit
797a3b8ea5
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,6 @@ void rofi_view_free ( RofiViewState *state )
|
|||
g_free ( state->line_map );
|
||||
g_free ( state->distance );
|
||||
g_free ( state->lines_not_ascii );
|
||||
g_free ( state );
|
||||
// Free the switcher boxes.
|
||||
// When state is free'ed we should no longer need these.
|
||||
if ( config.sidebar_mode == TRUE ) {
|
||||
|
@ -280,6 +279,7 @@ void rofi_view_free ( RofiViewState *state )
|
|||
g_free ( state->modi );
|
||||
state->num_modi = 0;
|
||||
}
|
||||
g_free ( state );
|
||||
}
|
||||
|
||||
MenuReturn rofi_view_get_return_value ( const RofiViewState *state )
|
||||
|
|
Loading…
Add table
Reference in a new issue