RTEMS | shell: flashdev: close fds on allocation failure (!1512)
shuhua hua (@huangshuhua)
gitlab at rtems.org
Fri Sep 25 02:07:25 UTC 2026
shuhua hua created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1512
Project:Branches: huangshuhua/rtems:fix/flashdev-fd-leak to rtems/rtos/rtems:main
Author: shuhua hua
When the flash write buffer allocation fails, close the open flash device and input file before returning an error.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1512
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/5-3b841d95y6yj9185oxpuqutjp-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260925/8c303ab3/attachment.htm>
More information about the bugs
mailing list