ccsObjectRemoveInterface_ doesn't use realloc, so it just overwrites the pointer. I think that will leak.
ccsObjectAddInterface does use realloc (I was wrongly assuming that you'd addressed the earlier discussion of invalidating the object on failed operation). Invalidating the object and returning FALSE will cause nasty surprises in client code.
Is there really value in CCSObjectAllocationInterface?
ccsObjectRemove Interface_ doesn't use realloc, so it just overwrites the pointer. I think that will leak.
ccsObjectAddInt erface does use realloc (I was wrongly assuming that you'd addressed the earlier discussion of invalidating the object on failed operation). Invalidating the object and returning FALSE will cause nasty surprises in client code.
Is there really value in CCSObjectAlloca tionInterface?