1
0
Fork 0
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:
Dave Davenport 2016-08-02 18:32:23 +02:00
parent c9a7d91609
commit 90c6c1125f

View file

@ -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] );