commit | 3c267e6262bb319c8e56c9ea1283c7087f9ac107 | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Mon Jan 30 21:40:37 2012 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Mon Jan 30 21:40:37 2012 +0000 |
tree | 53ff8683fbd725231c5cd9dd8d998516d08bee7c | |
parent | 7fc800356f3c86a0c63e94353d7a1ac5a0ffbf66 [diff] |
objc-arc: Perform null check on receiver before sending methods which consume one or more of their arguments. If not done, this will cause a leak as method will not consume the argument when receiver is null. In this patch, the null path releases consumed argument. // rdar://10444474 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149279 91177308-0d34-0410-b5e6-96231b3b80d8