big bug dans la fonction fbh_frefbfig !

This commit is contained in:
Ludovic Jacomme 2002-07-22 15:16:56 +00:00
parent eccac39bc0
commit cc462003f8
1 changed files with 3 additions and 1 deletions

View File

@ -153,8 +153,11 @@ struct fbfig *listfbfig; /* list of fbfig to be deleted */
/* then, delete the object itself */
/* ###------------------------------------------------------### */
while (listfbfig != 0)
{
ptfbfig = listfbfig;
fbh_frefbreg (ptfbfig->BEREG);
fbh_frefbmsg (ptfbfig->BEMSG);
fbh_frefbrin (ptfbfig->BERIN);
@ -168,7 +171,6 @@ struct fbfig *listfbfig; /* list of fbfig to be deleted */
if ((ptptype = getptype (ptfbfig->USER,FBH_GENERIC)) != 0)
fbh_frefbgen (ptptype->DATA);
ptfbfig = listfbfig;
listfbfig = listfbfig->NEXT;
mbkfree (ptfbfig);
}