ba_free() -- free memory assigned to buffer
#include <netinet/ba_stat.h> void ba_free (int *ptr);
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().
The function ba_free() is passed the following argument:
|
ptr |
A pointer to the buffer to be freed |