#include #include #include #include "inheritance.h" #include "struct.h" #include "free.h" void free_wcistream( struct wcistream* this) { ENTER; if (this && !--this->refcount) { assert(this); assert(this->inheritance); assert(this->inheritance->free); (this->inheritance->free)(this); free(this); } EXIT; }