The function ba_free() frees the specified buffer. It is equivalent to the system function free(). The buffer must have been allocated by one of the following functions: ba_list_interface_config(), ba_list_classes() or ba_get_flow_stats().