Kinsey Moore commented on a discussion on 
bsps/shared/dev/flash/flash_sim_flashdev.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/863#note_136681

 > +{
 > +  if ( attr->free != NULL ) {
 > +    attr->free( ptr );
 > +  } else {
 > +    free(ptr);
 > +  }
 > +}
 > +
 > +static void *flashdev_malloc(
 > +  struct flash_sim_flashdev_attributes *attr,
 > +  size_t size
 > +)
 > +{
 > +  if (attr->alloc != NULL) {
 > +    return attr->alloc(size);
 > +  } else {

Fixed in the latest push.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/863#note_136681
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