Free the cloned tag of the LO_LIST element.

This commit is contained in:
toshok%netscape.com 1998-07-29 00:37:04 +00:00
parent f9151b9a83
commit 2afdbeecd5

View File

@ -760,6 +760,14 @@ 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)