debugging memory leak on osx 10.9