equal
deleted
inserted
replaced
126 } |
126 } |
127 |
127 |
128 void XAThreadSyncItfImpl_Free(XAThreadSyncItfImpl* self) |
128 void XAThreadSyncItfImpl_Free(XAThreadSyncItfImpl* self) |
129 { |
129 { |
130 DEBUG_API("->XAThreadSyncItfImpl_Free"); |
130 DEBUG_API("->XAThreadSyncItfImpl_Free"); |
131 assert(self==self->self); |
|
132 if(self) |
131 if(self) |
133 { |
132 { |
|
133 assert(self==self->self); |
134 XAImpl_DeleteMutex(self->engCriticalSection); |
134 XAImpl_DeleteMutex(self->engCriticalSection); |
135 free(self); |
135 free(self); |
136 } |
136 } |
137 DEBUG_API("<-XAThreadSyncItfImpl_Free"); |
137 DEBUG_API("<-XAThreadSyncItfImpl_Free"); |
138 } |
138 } |