This is typically an abstraction for the free(3) call and makes sure
the application can use the same memory allocator as librdkafka for
freeing pointers returned by librdkafka.
In standard setups it is usually not necessary to use this interface
rather than the free(3) functione.
@remark rd_kafka_mem_free() must only be used for pointers returned by APIs
that explicitly mention using this function for freeing.
@brief Free pointer returned by librdkafka
This is typically an abstraction for the free(3) call and makes sure the application can use the same memory allocator as librdkafka for freeing pointers returned by librdkafka.
In standard setups it is usually not necessary to use this interface rather than the free(3) functione.
@remark rd_kafka_mem_free() must only be used for pointers returned by APIs that explicitly mention using this function for freeing.