/* -*-c-*-
*
- * $Id: class.c,v 1.3 1997/08/07 09:49:38 mdw Exp $
+ * $Id: class.c,v 1.5 1997/08/20 16:16:13 mdw Exp $
*
* Handling classes of things nicely
*
/*----- Revision history --------------------------------------------------*
*
* $Log: class.c,v $
- * Revision 1.3 1997/08/07 09:49:38 mdw
- * Extensive modifications to handle netgroups. Also sanitise user and group
- * names before adding them to the symbol table.
+ * Revision 1.5 1997/08/20 16:16:13 mdw
+ * Patch memory leak. Don't try to trace when tracing's turned off.
+ *
+ * Revision 1.4 1997/08/07 09:56:37 mdw
+ * (Log entry for previous version is bogus.) Minor changes to host
+ * checking code.
*
* Revision 1.2 1997/08/04 10:24:21 mdw
* Sources placed under CVS control.
{
if (c != class_all && !--c->ref) {
sym_destroyTable(c->t);
+ free(c->t);
free(c);
}
}
void class_dump(classdef *c)
{
+#ifdef TRACING
sym_iter i;
sym_base *s;
}
else
trace(TRACE_RULE, " ALL");
+#endif
}
/*----- That's all, folks -------------------------------------------------*/