projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a87401
)
xlat_free() function, for memory debugging
author
aland
<aland>
Fri, 27 Aug 2004 18:52:28 +0000
(18:52 +0000)
committer
aland
<aland>
Fri, 27 Aug 2004 18:52:28 +0000
(18:52 +0000)
src/main/xlat.c
patch
|
blob
|
history
diff --git
a/src/main/xlat.c
b/src/main/xlat.c
index
7ff5b47
..
e1127a8
100644
(file)
--- a/
src/main/xlat.c
+++ b/
src/main/xlat.c
@@
-443,6
+443,15
@@
void xlat_unregister(const char *module, RAD_XLAT_FUNC func)
rbtree_delete(xlat_root, node);
}
+/*
+ * De-register all xlat functions,
+ * used mainly for debugging.
+ */
+void xlat_free(void)
+{
+ rbtree_free(xlat_root);
+}
+
/*
* Decode an attribute name into a string.