omniClientFreeContent

Defined in OmniClient.h

void omniClientFreeContent(struct OmniClientContent *content)

Free an allocated content buffer.

It’s safe to call this with a content buffer that was refrenced with omniClientReferenceContent (though the content will obviously not actually be freed). This function also clears the structure (setting size to 0, buffer to nullptr, etc)