|
|
1.1 ! root 1: #include "quipu/util.h" ! 2: #include "quipu/attrvalue.h" ! 3: ! 4: as_comp_free (as) ! 5: Attr_Sequence as; ! 6: { ! 7: avs_free (as->attr_value); ! 8: free ((char *) as); ! 9: } ! 10: ! 11: as_free (as) ! 12: Attr_Sequence as; ! 13: { ! 14: Attr_Sequence eptr; ! 15: Attr_Sequence next; ! 16: ! 17: for(eptr = as; eptr != NULLATTR; eptr = next) { ! 18: next = eptr->attr_link; ! 19: as_comp_free (eptr); ! 20: } ! 21: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.