Search code examples
iphonememory-leaksphotolibrary

iPhone Simulator - Strange memory leak when using Photo Library


I'm having a very strange memory leak when showing the Photo Library for picking a photo in my application. I get a 32.5 KB memory leaked triggered by MusicLibrary. It looks like this

Leaked Object # Address Size Responsible Library Responsible Frame Malloc 32.50 KB, 0x7805c00 32.50 KB MusicLibrary MemNewPtrClear

It's very strange since I'm not using Music Library at all. Anyone any suggestions? Thanks.


Solution

  • The leak doesn't appear anymore when testing on device. Thanks @lxt.