--- ray/src/common/instance.c 1991/05/29 17:11:32 1.7 +++ ray/src/common/instance.c 1991/07/17 14:10:14 1.8 @@ -85,5 +85,8 @@ int flags; freeinstance(o) /* free memory associated with instance */ OBJREC *o; { + if (o->os == NULL) + return; free(o->os); + o->os = NULL; }