|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: D T
Length: 638 (0x27e) Types: TextFile Names: »DestroyObj.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki └─⟦this⟧ »EUUGD11/euug-87hel/sec1/offconv/DestroyObj.c«
/* * * Description * Destroy the specified object and deallocate all memory resources * associated with it. * * Output * * Input * Obj Pointer to object structure to be deallocated. * * Diagnostics * * Author * Randi J. Rost * Digital Equipment Corp. * Workstation Systems Engineering * Palo Alto, CA * * History * 17-Nov-86 Created * */ #include <stdio.h> #include "off.h" OFFDestroyObj(Obj) OFFObjDesc *Obj; { OFFProperty *pProp, *nextProp; pProp = Obj->FirstProp; while (pProp != NULL) { nextProp = pProp->NextProp; OFFFreeProperty(pProp); pProp = nextProp; } free(Obj); }