FBO Memory Allocattion

Hi,

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?

Thans,
Eoghan

The solution to my problem, if any one’s interested, is:

http://forum.openframeworks.cc/t/getting-an-error-message-when-closing-my-app—since-of0.06/2293/0