RTEMS | cpukit/libblock: Fix resource leak in rtems_fdisk_initialize (CID 1439298) (!903)
Kinsey Moore (@opticron)
gitlab at rtems.org
Tue Jan 13 23:24:11 UTC 2026
Kinsey Moore started a new discussion on cpukit/libblock/src/flashdisk.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/903#note_138599
> {
> const rtems_flashdisk_config* c = rtems_flashdisk_configuration;
> rtems_flashdisk* fd;
> + rtems_flashdisk* fds; /* <--- NEW: To save the base pointer */
Please remove these extra comments.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/903#note_138599
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/20260113/cd34be6c/attachment.htm>
More information about the bugs
mailing list