Skip to content

Commit

Permalink
fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
blackav committed Dec 29, 2023
1 parent 6ae3d68 commit c4a9ebe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/new_server_html.c
Original file line number Diff line number Diff line change
Expand Up @@ -18567,6 +18567,7 @@ batch_login(
}
}

xfree(phr->name); phr->name = NULL;
int action = NEW_SRV_ACTION_MAIN_PAGE;
int r = userlist_clnt_login(ul_conn, ULS_TEAM_CHECK_USER,
&phr->ip,
Expand Down

0 comments on commit c4a9ebe

Please sign in to comment.