rem: NsFree(lockPtr);
add: NsFree(lock);
context: NsLockFree(void *lock){    pthread_mutex_t *lockPtr = lock;    int		     err;    err = pthread_mutex_destroy(lockPtr);    if (err != 0) {        NsThreadFatal("NsMutexDestroy", "ptread_mutex_destroy", err);    }    NsFree(lockPtr);}