index 6ec0d8182deea1798559d9268b68259461cc54d1..279bf3604b4c20d0b7cfefe492cd6397f98a047c 100644 (file)
/* destroy the mutex */
pthread_mutex_destroy(&obj->gate);
+ /* remove from objList */
+ CIRCLEQ_REMOVE(&NameServer_module->objList, obj, elem);
+
/* finally, free the instance object */
free(obj);