mirror of
https://github.com/davatorium/rofi.git
synced 2025-04-07 17:33:14 -04:00
Fix 2 small memory leaks.
This commit is contained in:
parent
127d838847
commit
ca602383f1
2 changed files with 2 additions and 0 deletions
|
@ -1376,6 +1376,7 @@ void error_dialog ( const char *msg, int markup )
|
|||
}
|
||||
}
|
||||
release_keyboard ( display );
|
||||
menu_free_state ( &state );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -778,6 +778,7 @@ void textbox_cleanup ( void )
|
|||
}
|
||||
|
||||
g_object_unref ( p_context );
|
||||
pango_xft_shutdown_display ( display, DefaultScreen ( display ) );
|
||||
p_context = NULL;
|
||||
visual_info = NULL;
|
||||
target_colormap = None;
|
||||
|
|
Loading…
Add table
Reference in a new issue