Remove a reference to a buffer and set the pointer to NULL. If this is the last reference to the buffer, the buffer itself is also automatically freed.
@param ref pointer to the buffer reference
See Implementation
Remove a reference to a buffer and set the pointer to NULL. If this is the last reference to the buffer, the buffer itself is also automatically freed.
@param ref pointer to the buffer reference