]> granicus.if.org Git - clang/commit
[analyzer] Malloc Checker: add support for reallocf, which always frees
authorAnna Zaks <ganna@apple.com>
Wed, 15 Feb 2012 00:11:25 +0000 (00:11 +0000)
committerAnna Zaks <ganna@apple.com>
Wed, 15 Feb 2012 00:11:25 +0000 (00:11 +0000)
commit40add2983dedcf489d7ad8c7bccc58b6ae368ee4
treea4f95b3abe1f82b330c7881f3b7220773286ce42
parentb16ce45bd05b637b3d7b0bf70c05e5dfd4ddacc7
[analyzer] Malloc Checker: add support for reallocf, which always frees
the passed in pointer on failure.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150533 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/MallocChecker.cpp
test/Analysis/malloc.c