Fix memory leak works on non ARC.

Fix some memory leaks working on non-ARC build settings.
![2013-06-26 23 55 09](https://f.cloud.github.com/assets/40610/709957/6022fb88-de72-11e2-91e8-1095869da7dd.png)