diff --git a/data.c b/data.c index 5f13659..c913b52 100644 --- a/data.c +++ b/data.c @@ -83,6 +83,14 @@ int srv_open(char *basedir) } +void srv_free(void) +{ + xs_free(srv_basedir); + xs_free(srv_config); + xs_free(srv_baseurl); +} + + void user_free(snac *snac) /* frees a user snac */ {