mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-10 03:50:38 +03:00
Use xs_free().
This commit is contained in:
parent
2ab428ab0a
commit
6943615a20
10
data.c
10
data.c
@ -86,11 +86,11 @@ int srv_open(char *basedir)
|
|||||||
void user_free(snac *snac)
|
void user_free(snac *snac)
|
||||||
/* frees a user snac */
|
/* frees a user snac */
|
||||||
{
|
{
|
||||||
free(snac->uid);
|
xs_free(snac->uid);
|
||||||
free(snac->basedir);
|
xs_free(snac->basedir);
|
||||||
free(snac->config);
|
xs_free(snac->config);
|
||||||
free(snac->key);
|
xs_free(snac->key);
|
||||||
free(snac->actor);
|
xs_free(snac->actor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user