src/internal/utils/kitringbuffer.c
void Kit_DestroyRingBuffer(Kit_RingBuffer* rb) {
    if(rb == NULL) return;
    free(rb->data);
    free(rb);
}
/**
  * Deletes the given ringbuffer.
  * @param rb Ringbuffer to be deleted.
  */
Deletes the given ringbuffer.
@param rb Ringbuffer to be deleted.
Deletes the given ringbuffer . @param rb Ringbuffer to be deleted .
void Kit_DestroyRingBuffer(Kit_RingBuffer* rb) {
    if(rb == NULL) return;
    free(rb->data);
    free(rb);
}
void Kit_DestroyRingBuffer ( Kit_RingBuffer * rb ) { if ( rb == NULL ) return ; free ( rb -> data ) ; free ( rb ) ; }
Deletes the given ringbuffer.
Deletes the given ringbuffer .