|
|
1.1 ! root 1: #include "copyright.h" ! 2: ! 3: /* $Header: XFreeEData.c,v 11.11 87/09/11 08:03:40 toddb Exp $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1986 */ ! 5: ! 6: #include "Xlibint.h" ! 7: ! 8: _XFreeExtData (extension) ! 9: XExtData *extension; ! 10: { ! 11: XExtData *temp; ! 12: while (extension) { ! 13: if (extension->free_private) ! 14: (*extension->free_private)(extension); ! 15: else Xfree ((char *)extension->private_data); ! 16: temp = extension->next; ! 17: Xfree ((char *)extension); ! 18: extension = temp; ! 19: } ! 20: return; ! 21: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.