fix a few leaks. Reference: /n/sources/patch/applied/libhtml-tableak Date: Sun Jul 23 22:13:01 CES 2006 Signed-off-by: quanstro@quanstro.net --- /sys/src/libhtml/build.c Sun Jul 23 22:11:03 2006 +++ /sys/src/libhtml/build.c Sun Jul 23 22:09:29 2006 @@ -1800,6 +1800,7 @@ } outerps = lastps(ps); ans = outerps->items->next; + freeitem(outerps->items); // note: ans may be nil and di->kids not nil, if there's a frameset! outerps->items = newispacer(ISPnull); outerps->lastit = outerps->items; @@ -2563,6 +2564,8 @@ } } } + free(rowspancnt); + free(rowspancell); } // Remove tail of cell content until it isn't whitespace.