Given a struct, e.g.
typedef struct
{
int value;
} TestStruct;
Why does the following code (in the context of an Objective-C class running on the IPhone) throw a "non-aligned pointer being freed" exception?
TestStruct ts = {33};
free(&ts);
N.B. My uber goal is to use a C library with many vector-math functions, hence the need to find out some viable way to mix C and Objective-C