blob: c460efd3d684f407aea21bc6265326283715165e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* ISC license. */
#include <skalibs/genalloc.h>
#include <skalibs/gensetdyn.h>
#include <skalibs/skaclient.h>
#include <s6/s6lock.h>
void s6lock_end (s6lock_t *a)
{
gensetdyn_free(&a->data) ;
genalloc_free(uint16, &a->list) ;
skaclient_end(&a->connection) ;
*a = s6lock_zero ;
}
|