projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
BSD 4_3_Net_2 release
[unix-history]
/
usr
/
src
/
contrib
/
isode
/
dsap
/
common
/
dn_free.c
#include
"quipu/util.h"
#include
"quipu/name.h"
dn_comp_free
(
dn
)
DN dn
;
{
rdn_free
(
dn
->
dn_rdn
);
free
((
char
*)
dn
);
}
dn_free
(
dn
)
DN dn
;
{
register
DN eptr
;
register
DN next
;
for
(
eptr
=
dn
;
eptr
!=
NULLDN
;
eptr
=
next
) {
next
=
eptr
->
dn_parent
;
dn_comp_free
(
eptr
);
}
}