소스 검색

not deleting threads when deleting a lock

tarfeef101 7 년 전
부모
커밋
02bc9f380f
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      kern/thread/synch.c

+ 0 - 1
kern/thread/synch.c

@@ -181,7 +181,6 @@ void lock_destroy(struct lock * lock)
   spinlock_cleanup(&(lock->spin));
   wchan_destroy(lock->wc);
   kfree(lock->lk_name);
-  kfree(lock->owner);
   kfree(lock);
 }