| commit | f2bda69cd26be3a63f2537a3c5965274d8b61356 | [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 | 6602f7ca8c3b2d254e13aec5bdbfd40c11556939 | |
| parent | cf2c65aa8ee41e42fb77d35d3d2f81c79d79cf45 [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 llvm-svn: 149279