You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem occurs in the main loop of the japi server while processing the received lines.
After a client is disconnected, the client object gets cleaned and freed with japi_remove_client(ctx,client->socket);
At the end of the loop, the client object is accessed again in the loop condition, but the memory has already been freed, what produces an error in valgrind.
Japi.c: Line 538
The text was updated successfully, but these errors were encountered:
In GitLab by @Michael-M-Baron on Sep 13, 2021, 11:35
The problem occurs in the main loop of the japi server while processing the received lines.
After a client is disconnected, the client object gets cleaned and freed with
japi_remove_client(ctx,client->socket);
At the end of the loop, the client object is accessed again in the loop condition, but the memory has already been freed, what produces an error in valgrind.
Japi.c: Line 538
The text was updated successfully, but these errors were encountered: