mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
New function srv_free().
This commit is contained in:
parent
6943615a20
commit
275fc85bb5
1 changed files with 8 additions and 0 deletions
8
data.c
8
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 */
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue