Gedare Bloom commented on a discussion on cpukit/libblock/src/flashdisk.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/903#note_144173 > */ > fd->copy_buffer = malloc (c->block_size); > if (!fd->copy_buffer) > - return RTEMS_NO_MEMORY; > + { > + sc = RTEMS_NO_MEMORY; > + goto error_cleanup; I would prefer to see this done in a function. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/903#note_144173 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
