Use xs_free().

This commit is contained in:
default 2022-10-25 10:20:23 +02:00
parent 2ab428ab0a
commit 6943615a20

10
data.c
View file

@ -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);
} }