Changeset 185 for trunk/kernel/kern
- Timestamp:
- Jul 11, 2017, 1:24:47 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/thread.c
r171 r185 406 406 error_t error; 407 407 thread_t * thread; // pointer on new thread descriptor 408 kmem_req_t req; // kmem request (for release)409 408 410 409 thread_dmsg("\n[INFO] %s : enters for type %s in cluster %x\n", … … 434 433 if( error ) // release allocated memory for thread descriptor 435 434 { 436 req.type = KMEM_PAGE; 437 req.ptr = ppm_vaddr2page( thread ); 438 kmem_free( &req ); 435 thread_release( thread ); 439 436 return EINVAL; 440 437 }
Note: See TracChangeset
for help on using the changeset viewer.