Function

CVBufferRelease

Releases a Core Video buffer.

Declaration

void CVBufferRelease(CVBufferRef buffer);

Parameters

buffer

The Core Video buffer that you want to release.

Discussion

Like CFRelease, CVBufferRelease decrements the retain count of a Core Video buffer. If that count consequently becomes zero, the memory allocated to the object is deallocated and the object is destroyed. Unlike CFRelease, CVBufferRelease can be passed NULL without causing a crash.

See Also

Retaining and Releasing Buffers

CVBufferRetain

Retains a Core Video buffer.