Parcourir la source

not deleting threads when deleting a lock

tarfeef101 il y a 6 ans
Parent
commit
02bc9f380f
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  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);
 }