You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: This issue was created automatically. Priority was set based on classification
of the file affected and the impact field in coverity. Assignees were set using the CODEOWNERS file.
The text was updated successfully, but these errors were encountered:
After analyzing it, this is likely to be a false positive. Because after calling the reallocarray(), the original memory chuck that "ptr" point to, is no need to be free. It might become a larger or smaller memory chunk. No memory would be leak here.
Static code scan issues found in file:
https:/zephyrproject-rtos/zephyr/tree/b4f5b9e23770f2c9cddf95fef7b9af32da309f7f/tests/lib/mem_alloc/src/main.c#L233
Category: Resource leaks
Function:
test_reallocarray
Component: Tests
CID: 219722
Details:
zephyr/tests/lib/mem_alloc/src/main.c
Line 233 in b4f5b9e
Please fix or provide comments in coverity using the link:
https://scan9.coverity.com/reports.htm#v29271/p12996
Note: This issue was created automatically. Priority was set based on classification
of the file affected and the impact field in coverity. Assignees were set using the CODEOWNERS file.
The text was updated successfully, but these errors were encountered: