home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
txttools
/
ed.lzh
/
ED
/
UNMKPAT.C
< prev
Wrap
C/C++ Source or Header
|
1991-08-16
|
363b
|
28 lines
#include <stdio.h>
#include "tools.h"
/* Free up the memory usde for token string */
unmakepat(head)
TOKEN *head;
{
register TOKEN *old_head;
while (head)
{
switch (head->tok)
{
case CCL:
case NCCL:
free(head->bitmap);
/* fall through to default */
default:
old_head = head;
head = head->next;
free (old_head);
break;
}
}
}