|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T f
Length: 899 (0x383)
Types: TextFile
Names: »free.c«
└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89
└─⟦this⟧ »./DVIware/laser-setters/quicspool/libprofile/free.c«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
└─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z«
└─⟦ca79c7339⟧
└─⟦this⟧ »DVIware/laser-setters/quicspool/libprofile/free.c«
static char *rcs = "$Header: free.c,v 1.1 88/01/15 12:16:58 simpson Rel $";
/*
$Log: free.c,v $
* Revision 1.1 88/01/15 12:16:58 simpson
* initial release
*
* Revision 0.1 87/12/11 17:02:11 simpson
* beta test
*
*/
#include "profile.h"
profile_free_profile (s)
PROFILE_STANZA *s;
{
PROFILE_STANZA *x;
for (x = s; x != (PROFILE_STANZA *)0 && x != s; x = x->next)
profile_free_stanza(x);
}
profile_free_stanza (s)
PROFILE_STANZA *s;
{
free_markers(s->marker);
free_bindings(s->binding);
free(s);
}
static free_markers (m)
PROFILE_MARKER *m;
{
PROFILE_MARKER *x;
for (; m; m = x) {
x = m->next;
free(m);
}
}
static free_bindings (b)
PROFILE_BINDING *b;
{
PROFILE_BINDING *x;
for (; b; b = x) {
x = b->next;
free_values(b->value);
free(b);
}
}
static free_values (v)
PROFILE_VALUE *v;
{
PROFILE_VALUE *x;
for (; v; v = x) {
x = v->next;
free(v);
}
}