about summary refs log tree commit diff
path: root/src/libwpactrl/wpactrl_xchg_cbres_free.c
blob: b12a3fcaa7488ff3babeb0ad5157abfc7813f89b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

#include <skalibs/stralloc.h>
#include <skalibs/genalloc.h>
#include <bcnm/wpactrl.h>

void wpactrl_xchg_cbres_free (wpactrl_xchg_cbres_t *cr)
{
  genalloc_free(int, &cr->parsed) ; /* relies on genericity of genalloc_free */
  stralloc_free(&cr->storage) ;
}