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

#include <skalibs/stralloc.h>
#include <skalibs/genqdyn.h>

void genqdyn_free (genqdyn *g)
{
  stralloc_free(&g->queue) ;
  *g = genqdyn_zero ;
}