commit | 4ee1a18837c67f830fd1e455633ca0c2de1224a5 | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Tue Nov 13 20:22:03 2012 +0000 |
committer | Anna Zaks <ganna@apple.com> | Tue Nov 13 20:22:03 2012 +0000 |
tree | d04bac5e1c09f8026c01bbc3f3620071b057909c | |
parent | 6a22c4c8542053f676807b1e80f76abc239e6a42 [diff] |
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 llvm-svn: 167870