MITHILESH MATTAPALLI created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/902
Project:Branches: mithileshm/rtems:fix-flash-leak to rtems/rtos/rtems:main Author: MITHILESH MATTAPALLI Coverity Scan identified a resource leak in `flash_sim_flashdev_init`. If `ntable->area` or `ntable->oob` allocation fails, the function returns NULL but previously failed to free the allocated `ftable`. This patch adds the missing `free(ftable)` calls to the error handling paths. Closes CID 1679602. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/902 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
