RTEMS | cpukit/dev/can: Check task start status in queue init (CID 1642607) (!1059)

MITHILESH MATTAPALLI (@mithileshm) gitlab at rtems.org
Thu Feb 12 15:09:50 UTC 2026




MITHILESH MATTAPALLI commented on a discussion on cpukit/dev/can/can-quekern.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1059#note_142489

 >    }
 >  
 >    rtems_task_start( dead_func_id, can_queue_dead_func, 0 );
 > +  if ( sc != RTEMS_SUCCESSFUL ) {
 > +    return -1;

Added `rtems_task_delete(dead_func_id)` to prevent a resource leak on failure

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1059#note_142489
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260212/1e149264/attachment.htm>


More information about the bugs mailing list