volatile seems to be a never ending question of every one. I thought I knew everything about it, but then I encountered this:
volatile
So, I have a piece of memory s
My conclusion was that just casting the pointer to void * would not cause a problem and the fact that free and vfree don't directly accept pointers to volatile data is just something that was overlooked.
void *
free
vfree