diff options
| author | Anna Zaks <ganna@apple.com> | 2014-10-03 21:48:59 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2014-10-03 21:48:59 +0000 |
| commit | d79b840716adeeeb75deab4f16726c075d5a9a96 (patch) | |
| tree | 466daef4d0371d1b70a76c703ae54680e8b10fea /clang/utils/TestUtils/deep-stack.py | |
| parent | 2d2f137ed4a794f494a6a763f342bba1ef492ed2 (diff) | |
| download | bcm5719-llvm-d79b840716adeeeb75deab4f16726c075d5a9a96.tar.gz bcm5719-llvm-d79b840716adeeeb75deab4f16726c075d5a9a96.zip | |
[analyzer] Make Malloc Checker track memory allocated by if_nameindex
The MallocChecker does currently not track the memory allocated by
if_nameindex. That memory is dynamically allocated and should be freed
by calling if_freenameindex. The attached patch teaches the checker
about these functions.
Memory allocated by if_nameindex is treated as a separate allocation
"family". That way the checker can verify it is freed by the correct
function.
A patch by Daniel Fahlgren!
llvm-svn: 219025
Diffstat (limited to 'clang/utils/TestUtils/deep-stack.py')
0 files changed, 0 insertions, 0 deletions

