Explorar o código

not deleting threads when deleting a lock

tarfeef101 %!s(int64=7) %!d(string=hai) anos
pai
achega
02bc9f380f
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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);
 }