DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ D T

⟦9a9a3646c⟧ TextFile

    Length: 638 (0x27e)
    Types: TextFile
    Names: »DestroyObj.c«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/offconv/DestroyObj.c« 

TextFile


/*
 *
 * 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);
    }