RTEMS | Draft: cpukit: add support for common CAN/CAN FD stack (!49)
Pavel Pisa (@ppisa)
gitlab at rtems.org
Fri Jun 28 11:14:43 UTC 2024
Pavel Pisa commented on a discussion on cpukit/dev/can/can-bus.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/49#note_108451
> + }
> +
> + canque_edge_decref( edge4write );
> + canque_edge_decref( edge4read );
> +
> + return 0;
> +
> +no_qedge:
> + if ( edge4write != NULL ) {
> + canque_edge_decref( edge4write );
> + }
> +
> + if ( edge4read != NULL ) {
> + canque_edge_decref( edge4read );
> + }
> + TAILQ_REMOVE( &chip->can_users, canuser, peers );
Good catch
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/49#note_108451
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/20240628/577ce374/attachment-0001.htm>
More information about the bugs
mailing list