You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/09/05 13:58:14 UTC
[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #4474: drivers/mmcsd: Handle the failure correctly in mmcsd_slotinitialize
xiaoxiang781216 opened a new pull request #4474:
URL: https://github.com/apache/incubator-nuttx/pull/4474
## Summary
1.Return -ENOMEM directly if kmm_malloc return NULL
2.Call nxsem_destroy if the initialization can't succeed
## Impact
Fix the memory leak
## Testing
Pass CI.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] acassis merged pull request #4474: drivers/mmcsd: Handle the failure correctly in mmcsd_slotinitialize
Posted by GitBox <gi...@apache.org>.
acassis merged pull request #4474:
URL: https://github.com/apache/incubator-nuttx/pull/4474
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org