summaryrefslogtreecommitdiff
path: root/src/libs6rcd/s6rc_db_free.c
blob: b8eb54e0d4fdc2c0aafe79c1b0f7eac11f926448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ISC license. */

#include <skalibs/alloc.h>

#include "db.h"

void s6rc_db_free (s6rc_db_t *db)
{
  alloc_free(db->storage) ;
  alloc_free(db->argvs) ;
  alloc_free(db->producers) ;
  alloc_free(db->deptypes[0]) ;
  alloc_free(db->deps[0]) ;
  alloc_free(db->bundles) ;
  alloc_free(db->externals) ;
  alloc_free(db->oneshots) ;
  alloc_free(db->longruns) ;
}