mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-28 23:53:36 +00:00
Use xs_free().
This commit is contained in:
parent
2ab428ab0a
commit
6943615a20
1 changed files with 5 additions and 5 deletions
10
data.c
10
data.c
|
@ -86,11 +86,11 @@ int srv_open(char *basedir)
|
|||
void user_free(snac *snac)
|
||||
/* frees a user snac */
|
||||
{
|
||||
free(snac->uid);
|
||||
free(snac->basedir);
|
||||
free(snac->config);
|
||||
free(snac->key);
|
||||
free(snac->actor);
|
||||
xs_free(snac->uid);
|
||||
xs_free(snac->basedir);
|
||||
xs_free(snac->config);
|
||||
xs_free(snac->key);
|
||||
xs_free(snac->actor);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue