summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-11-13 03:18:01 +0000
committerAnna Zaks <ganna@apple.com>2012-11-13 03:18:01 +0000
commit67291b90f9c811045a97eba72a0af75baa028aae (patch)
tree2ba9b9460329c67f605618b683b96dec57c98f9c /llvm/lib/Transforms/Utils/InlineFunction.cpp
parentab72f9763ff554aa2a3d2c9606b2b7cc0ce6d04d (diff)
downloadbcm5719-llvm-67291b90f9c811045a97eba72a0af75baa028aae.tar.gz
bcm5719-llvm-67291b90f9c811045a97eba72a0af75baa028aae.zip
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. llvm-svn: 167813
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud