|
From: <kin...@us...> - 2004-03-13 20:12:00
|
Update of /cvsroot/teem/teem/src/mite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26582/mite Modified Files: renderMite.c shade.c thread.c user.c Log Message: killed off AIR_FREE and AIR_FCLOSE macros- they were just way too cute for their own good Index: renderMite.c =================================================================== RCS file: /cvsroot/teem/teem/src/mite/renderMite.c,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** renderMite.c 4 Mar 2004 14:04:08 -0000 1.13 --- renderMite.c 13 Mar 2004 20:03:10 -0000 1.14 *************** *** 29,33 **** mrr->rmop = airMopNew(); if (!mrr->rmop) { ! AIR_FREE(mrr); return mrr; } --- 29,33 ---- mrr->rmop = airMopNew(); if (!mrr->rmop) { ! mrr = airFree(mrr); return mrr; } *************** *** 55,59 **** if (mrr) { airMopOkay(mrr->rmop); ! AIR_FREE(mrr); } return NULL; --- 55,59 ---- if (mrr) { airMopOkay(mrr->rmop); ! mrr = airFree(mrr); } return NULL; Index: shade.c =================================================================== RCS file: /cvsroot/teem/teem/src/mite/shade.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** shade.c 29 Feb 2004 13:42:41 -0000 1.2 --- shade.c 13 Mar 2004 20:03:10 -0000 1.3 *************** *** 48,52 **** shpec->scl0 = gageItemSpecNix(shpec->scl0); shpec->scl1 = gageItemSpecNix(shpec->scl1); ! AIR_FREE(shpec); } return NULL; --- 48,52 ---- shpec->scl0 = gageItemSpecNix(shpec->scl0); shpec->scl1 = gageItemSpecNix(shpec->scl1); ! shpec = airFree(shpec); } return NULL; Index: thread.c =================================================================== RCS file: /cvsroot/teem/teem/src/mite/thread.c,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** thread.c 4 Mar 2004 14:04:08 -0000 1.13 --- thread.c 13 Mar 2004 20:03:10 -0000 1.14 *************** *** 69,75 **** miteThreadNix(miteThread *mtt) { ! AIR_FREE(mtt->ansMiteVal); ! AIR_FREE(mtt->directAnsMiteVal); ! AIR_FREE(mtt); return NULL; } --- 69,75 ---- miteThreadNix(miteThread *mtt) { ! mtt->ansMiteVal = airFree(mtt->ansMiteVal); ! mtt->directAnsMiteVal = airFree(mtt->directAnsMiteVal); ! mtt = airFree(mtt); return NULL; } Index: user.c =================================================================== RCS file: /cvsroot/teem/teem/src/mite/user.c,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** user.c 4 Mar 2004 14:04:08 -0000 1.17 --- user.c 13 Mar 2004 20:03:10 -0000 1.18 *************** *** 69,73 **** if (muu) { airMopOkay(muu->umop); ! AIR_FREE(muu); } return NULL; --- 69,73 ---- if (muu) { airMopOkay(muu->umop); ! muu = airFree(muu); } return NULL; |