iOS:Get error with image saving after taking it with AVSession on every third picture
===

Please dont mark it as the duplicate answer.

I am uses Apple's [SquareCam][1] example to take image with overlay image.

Every thing works fine, except when I take third picture without closing my app it crashes with error shown in below pictures

![error EXC_BAD_ACCESS(code=1,address=0x1008)][2]

Thread stack is as below

![By Thread][3]

![By Queue][4]

And as per my knowledge this error is occurred when it try to save image in my custom folder as image is saved to my camera roll perfectly but not in my custom folder.

I use [this][5] files from [this][6] tutorial. 

Please help me.

Thanks in advance.

Happy Coding :)

  [1]: http://developer.apple.com/library/ios/samplecode/SquareCam/Introduction/Intro.html#//apple_ref/doc/uid/DTS40011190
  [2]: http://i.stack.imgur.com/AEC2J.png
  [3]: http://i.stack.imgur.com/QfeMm.png
  [4]: http://i.stack.imgur.com/Yq5l1.png
  [5]: http://www.touch-code-magazine.com/wp-content/uploads/2011/11/ALAssetsLibrary_CustomPhotoAlbum.zip
  [6]: http://www.touch-code-magazine.com/ios5-saving-photos-in-custom-photo-album-category-for-download/