Blame view
tools/sctk-2.4.10/src/sclite/killarc1.c
775 Bytes
8dcb6dfcb first commit |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
/* file killarc1.c */ #include "sctk.h" void kill_arc(ARC *arc1) /*******************************************************************/ /* Deletes ARC *arc1. */ /* *Perr > 0 on return to signal error. */ /*******************************************************************/ {char *proc = "kill_arc"; /* code */ db_enter_msg(proc,0); /* debug only */ if (db_level > 0) printf("%s killing arc @%p ", pdb,arc1); /* if (memory_trace) printf("%s FREEing %x ",pdb,(int)arc1->symbol); */ /* free((void*)arc1->symbol); */ /* if (memory_trace) printf("%s FREEing %x ",pdb,(int)arc1); */ free((void*)arc1); db_leave_msg(proc,0); /* debug only */ return; } /* end kill_arc() */ |