New juce_ArrayAllocationBase and OSX

Hi Jules,

We’re seeing a weird issue since the move from malloc to new in ArrayAllocationBase on mac.

The debugger keeps saying there is some unaligned delete. (malloc_debug related)

After taking a look it seems that from time to time the new do no returns an aligned address, that’s why the delete is unaligned

Are you experiencing the same issue ?


Haven’t noticed that myself yet. I wonder why it would complain about a simple new/delete pair??

By the way. I’ve found the issue couple weeks ago.

It’s seemed to be due to SDK mismatch between our code (10.4)
and default Juce SDK(10.5)