mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-16 11:45:31 +00:00
call lo_FreeLayoutData when we're done relaying out -- stop leaking memory on resizes
This commit is contained in:
parent
d5407b63be
commit
3f42ebd9eb
@ -238,6 +238,7 @@ void LO_RelayoutOnResize(MWContext *context, int32 width, int32 height, int32 le
|
||||
if(!state->top_state->is_binary)
|
||||
FE_SetProgressBarPercent(context, 100);
|
||||
|
||||
lo_FreeLayoutData(context, state);
|
||||
FE_FinishedLayout(context);
|
||||
|
||||
/* Tell FE to redraw window */
|
||||
|
Loading…
Reference in New Issue
Block a user