From: risk it <ris...@ya...> - 2002-11-28 04:29:51
|
Here are some fixes to clean memory leaks: decode_simple.c after(line:255): for (i = ps->fib.fcMin; i < ps->fib.fcMac; i++) { eachchar = wvGetChar (ps->mainfd, 1); (*(ps->charhandler)) (ps, eachchar, 1, ps->fib.lid); /* (*(ps->scharhandler))(ps,eachchar,&achp; no go */ /* wvOutputTextChar(eachchar, 1, ps, &achp); no go */ /* Formatting still lacking. This is just a start. */ } wvHandleDocument (ps, DOCEND); + wvReleaseSTTBF (&ps->Sttbfbkmk); - wvFree (ps->Sttbfbkmk.u16strings); after(line:546): wvReleaseLST (&ps->lst, ps->noofLST); wvReleaseLFO_records (&ps->lfo, &ps->lfolvl, &ps->lvl, ps->nooflvl); wvReleaseSTTBF (&ps->anSttbfAssoc); + wvReleaseSTTBF (&ps->Sttbfbkmk); + wvFree (txbxTxt); + wvFree (ftxbx); __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |