Rename allocate/release allocateBuffer/releaseBuffer
Minor change