When terminating an application (on Xcode / Mac), the following gets printed to the terminal.
openFrameworksDebug(6447,0xa017d720) malloc: *** error for object 0x8a0004: Non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug
It occurs when I use an FBO object. Is there a way of deallocating it upon termination of the application that will not trigger the above error?