Changeset f6d2c81 in mainline for uspace/libc/generic/ipc.c

Timestamp:
2007-05-30T19:50:24Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c31e536
Parents:
51ec40f
Message:

Fix two memory leaks.

In kernel, kernel_uarg structure needs to be deallocated when a thread
with userspace context is destroyed.

In userspace, the return value of the SYS_THREAD_CREATE must be checked
for error conditions and in case of error, uarg and stack must be freed
up.

(No files)

Note: See TracChangeset for help on using the changeset viewer.