New function srv_free().

This commit is contained in:
default 2022-10-25 10:38:12 +02:00
parent 6943615a20
commit 275fc85bb5

8
data.c
View File

@ -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) void user_free(snac *snac)
/* frees a user snac */ /* frees a user snac */
{ {