Changeset 7918fce in mainline for kernel/generic/src/ipc/ipc.c
- Timestamp:
- 2007-07-11T20:31:45Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 975f62f
- Parents:
- 398d967
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r398d967 r7918fce 68 68 call->callerbox = &TASK->answerbox; 69 69 call->sender = TASK; 70 call->buffer = NULL; 70 71 } 71 72 … … 108 109 { 109 110 ASSERT(!(call->flags & IPC_CALL_STATIC_ALLOC)); 111 /* Check to see if we have data in the IPC_M_DATA_SEND buffer. */ 112 if (call->buffer) 113 free(call->buffer); 110 114 slab_free(ipc_call_slab, call); 111 115 } … … 293 297 294 298 spinlock_lock(&phone->lock); 295 if (phone->state == IPC_PHONE_FREE || phone->state == IPC_PHONE_HUNGUP || 299 if (phone->state == IPC_PHONE_FREE || 300 phone->state == IPC_PHONE_HUNGUP || 296 301 phone->state == IPC_PHONE_CONNECTING) { 297 302 spinlock_unlock(&phone->lock);
Note:
See TracChangeset
for help on using the changeset viewer.