mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 16:29:57 +08:00
cpukit/posix/src/aio_misc.c: Fix for illegal memory access.
CID 1618881: Memory - illegal accesses (USE_AFTER_FREE)
This commit is contained in:
committed by
Kinsey Moore
parent
f61086a404
commit
acd2a24d64
@@ -267,9 +267,9 @@ void rtems_aio_completed_list_op( listcb *listcbp )
|
||||
break;
|
||||
}
|
||||
free( listcbp );
|
||||
} else {
|
||||
pthread_mutex_unlock( &listcbp->mutex );
|
||||
}
|
||||
|
||||
pthread_mutex_unlock( &listcbp->mutex );
|
||||
}
|
||||
|
||||
rtems_aio_request_chain *rtems_aio_search_fd(
|
||||
|
||||
Reference in New Issue
Block a user