diff --git a/cmd/xfe/prefs.c b/cmd/xfe/prefs.c index 73a565caa51..d2b0b0c3a5d 100644 --- a/cmd/xfe/prefs.c +++ b/cmd/xfe/prefs.c @@ -1111,8 +1111,6 @@ read_font_spec(char* name, void* field) } while ( (tmp = strtok(NULL, ",")) != NULL ); free(copy); } - - free(font_spec); } @@ -1142,8 +1140,6 @@ write_font_spec(char* name, void* field) fe_FreeFontSettings(set); write_str(name, &font_spec); - - free(font_spec); } diff --git a/lib/layout/layfree.c b/lib/layout/layfree.c index 3368fc38358..b0a9fa71fbb 100644 --- a/lib/layout/layfree.c +++ b/lib/layout/layfree.c @@ -760,14 +760,6 @@ lo_ScrapeElement(MWContext *context, LO_Element *element, Bool freeTableOrCellSt break; - case LO_LIST: - if (element->lo_list.tag != NULL) - { - PA_FreeTag(element->lo_list.tag); - element->lo_list.tag = NULL; - } - break; - case LO_MULTICOLUMN: /* should we do this? */ if (element->lo_multicolumn.tag != NULL) diff --git a/lib/layout/layrelay.c b/lib/layout/layrelay.c index 7841f013d59..17b1d5d2fa6 100644 --- a/lib/layout/layrelay.c +++ b/lib/layout/layrelay.c @@ -238,7 +238,6 @@ 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 */