Sfoglia il codice sorgente

not deleting threads when deleting a lock

tarfeef101 7 anni fa
parent
commit
02bc9f380f
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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);
 }