summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-11-13 20:22:03 +0000
committerAnna Zaks <ganna@apple.com>2012-11-13 20:22:03 +0000
commit7420b76579ea6658bd0019804dcd77a0c4fa0a08 (patch)
treee9d799ad881b091593bf3e7c0d493adedfee6096 /lib/CodeGen/CGExprComplex.cpp
parentd490d5d5b7f761892905bae2c779a6331aafb9e4 (diff)
downloadclang-7420b76579ea6658bd0019804dcd77a0c4fa0a08.tar.gz
clang-7420b76579ea6658bd0019804dcd77a0c4fa0a08.tar.bz2
clang-7420b76579ea6658bd0019804dcd77a0c4fa0a08.tar.xz
Fix a Malloc Checker FP by tracking return values from initWithCharacter
and other functions. When these functions return null, the pointer is not freed by them/ownership is not transfered. So we should allow the user to free the pointer by calling another function when the return value is NULL. Commits: 167813, 167814, 167868 git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@167870 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions