cpukit/posix/src/aio_misc.c: Fix for illegal memory access.

CID 1618881:  Memory - illegal accesses  (USE_AFTER_FREE)
This commit is contained in:
alessandronardin
2024-09-05 23:13:25 +00:00
committed by Kinsey Moore
parent f61086a404
commit acd2a24d64
+2 -2
View File
@@ -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(