summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_rci_free.c
blob: d742ffea6fdaf93a3e14e036b2496cc4d92e2a11 (plain)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <skalibs/stralloc.h>
#include <s6-dns/s6dns-rci.h>

void s6dns_rci_free (s6dns_rci_t *rci)
{
  stralloc_free(&rci->rules) ;
  *rci = s6dns_rci_zero ;
}