Pārlūkot izejas kodu

not deleting threads when deleting a lock

tarfeef101 7 gadi atpakaļ
vecāks
revīzija
02bc9f380f
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  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);
 }