Kinsey Moore started a new discussion on 
bsps/shared/dev/flash/flash_sim_flashdev.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/902#note_138457

 >    ntable->area = flashdev_malloc( &ntable->attr, total_pages * 
 > ntable->attr.page_size_bytes );
 >    if ( ntable->area == NULL ) {
 >      free_nand_priv( ntable );
 > +    free( ftable ); /* <--- FIXED: Prevent memory leak */

Please remove the comment on this line.

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