mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
Fix memory leak overlay widget
This commit is contained in:
parent
c9a7d91609
commit
90c6c1125f
1 changed files with 3 additions and 0 deletions
|
@ -290,6 +290,9 @@ void rofi_view_free ( RofiViewState *state )
|
|||
textbox_free ( state->prompt_tb );
|
||||
textbox_free ( state->case_indicator );
|
||||
scrollbar_free ( state->scrollbar );
|
||||
if ( state->overlay ) {
|
||||
textbox_free ( state->overlay );
|
||||
}
|
||||
|
||||
for ( unsigned int i = 0; i < state->max_elements; i++ ) {
|
||||
textbox_free ( state->boxes[i] );
|
||||
|
|
Loading…
Reference in a new issue