Skip to content
Commit f2bda69c authored by Fariborz Jahanian's avatar Fariborz Jahanian
Browse files

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
parent cf2c65aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment