RTEMS | cpukit/libblock: Fix resource leak in rtems_fdisk_initialize (!903)

Gedare Bloom (@gedare) gitlab at rtems.org
Tue Mar 3 17:01:28 UTC 2026




Gedare Bloom started a new discussion on cpukit/libblock/src/flashdisk.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/903#note_144175

 >    void *arg                 RTEMS_UNUSED
 >  )
 >  {
 > -  const rtems_flashdisk_config *c = rtems_flashdisk_configuration;
 > -  rtems_flashdisk              *fd;
 > +  const rtems_flashdisk_config* c = rtems_flashdisk_configuration;
 > +  rtems_flashdisk*              fd;

these format changes are not correct. please see https://users.rtems.org/t/using-clang-format-on-rtems-git/454

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/903#note_144175
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/20260303/ce8c43a7/attachment.htm>


More information about the bugs mailing list