Aaron Nyholm commented on a discussion on testsuites/libtests/iodev01/test_iodev.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_152725 > + sizeof( rtems_iodev ) > + ); > + > + if ( tiodev.iodev == NULL ) { > + return NULL; > + } > + > + rtems_mutex_init( &tiodev.lock, "test_iodev" ); > + rtems_mutex_lock( &tiodev.lock ); > + tiodev.waiting = false; > + rtems_mutex_unlock( &tiodev.lock ); > + > + tiodev.regions[0].index = 0; > + tiodev.regions[0].address = malloc(TEST_IODEV_REGION_SIZE); > + if (tiodev.regions[0].address == NULL) { > + rtems_iodev_destroy_unregistered( tiodev.iodev ); Yes it should, fixed this and other instances. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_152725 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
