RTEMS | cpukit/libblock: Fix resource leak in rtems_nvdisk_initialize (CID 1439297) (!905)

Chris Johns (@chris) gitlab at rtems.org
Fri Jan 23 01:10:15 UTC 2026



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/905 was reviewed by Chris Johns

--
  
Chris Johns started a new discussion on cpukit/libblock/src/nvdisk.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/905#note_139700

 > +        }
 > +      }
 > +      free (nvd_start);

This piece of code is repeated below. Lets not do that.


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/905
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/20260123/ffcf641b/attachment.htm>


More information about the bugs mailing list