libmysql on iphone leak HELLLLLLPPPPPPPPPPPPPP!!!!!! PLEASE!!!!! [ALTERNATE SOLUTION FOUND]

Hi, I have recently compiled a working version of the mysql c connector for armv6, armv7, and i386 and lipoed it together. I am now experencing a memory leak(aka: EXC_BAD_ACCESS) on retval variable in the main function in main.m of the app. Considering that cocos2d-x for iphone is built on a obj-c base and added to by c++, is there a way i could pool this and fix the leak?

Hi. Could you check which part of your code produces memory leak? You can use the developer tools to check, which come together with xcode. Usually when I get EXC_BAD_ACCESS most of the time it’s my own fault and has nothing to do with cocos2d-x.

Its, fine I got around it by completely redoing the libraries, but it actually turns out I had to include more support libraries. Thanks anyway!