I am looking at the documentation of IOBufferMemoryDescriptor
. It says "... Except where noted, you are also responsible for releasing buffers that you allocate.".
IOBufferMemoryDescriptor::free
also exists. My questions is: should I use free
or release
(or maybe both) to do the cleanup?