Prakhar Kumar commented on a discussion on cpukit/libblock/src/flashdisk.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/912#note_139479

 > +
 > +  free(fd->blocks);
 > +  fd->blocks = NULL;
 > +
 > +  free(fd->copy_buffer);
 > +  fd->copy_buffer = NULL;
 > +}
 > +
 > +static void rtems_fdisk_cleanup (rtems_flashdisk *base, uint32_t count)
 > +{
 > +  while(1)
 > +  {
 > +    rtems_fdisk_cleanup_helper(&base[count]);
 > +    if(count==0)
 > +      break;
 > +    --count;

Done

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/912#note_139479
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to