|
From: <kin...@us...> - 2004-03-13 20:12:01
|
Update of /cvsroot/teem/teem/src/dye In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26582/dye Modified Files: methodsDye.c Log Message: killed off AIR_FREE and AIR_FCLOSE macros- they were just way too cute for their own good Index: methodsDye.c =================================================================== RCS file: /cvsroot/teem/teem/src/dye/methodsDye.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** methodsDye.c 7 Jan 2004 15:34:28 -0000 1.6 --- methodsDye.c 13 Mar 2004 20:03:09 -0000 1.7 *************** *** 52,58 **** } } ! if (dyeSpaceLast == spc) spc = dyeSpaceUnknown; ! AIR_FREE(str); } return spc; --- 52,59 ---- } } ! if (dyeSpaceLast == spc) { spc = dyeSpaceUnknown; ! } ! str = airFree(str); } return spc; *************** *** 141,145 **** if (col) { ! AIR_FREE(col); } return NULL; --- 142,146 ---- if (col) { ! col = airFree(col); } return NULL; *************** *** 175,179 **** biffAdd(DYE, err); return 1; } ! AIR_FREE(str); dyeColorSet(col, spc, v0, v1, v2); --- 176,180 ---- biffAdd(DYE, err); return 1; } ! str = airFree(str); dyeColorSet(col, spc, v0, v1, v2); |