diff options
Diffstat (limited to 'user.c')
-rw-r--r-- | user.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,8 @@ struct user_t *user_get(char *nick) { void user_free() { struct user_t *user; for(int i = 0; i < USERS_MAX; i++) { + if(users[i].nick) + free(users[i].nick); user = users[i].next; while(user) { struct user_t *temp = user->next; |