call lo_FreeLayoutData when we're done relaying out -- stop leaking memory on resizes

This commit is contained in:
toshok%netscape.com 1998-07-29 07:36:54 +00:00
parent d5407b63be
commit 3f42ebd9eb

View File

@ -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 */