Explorar el Código

not deleting threads when deleting a lock

tarfeef101 hace 7 años
padre
commit
02bc9f380f
Se han modificado 1 ficheros con 0 adiciones y 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);
 }