mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-21 11:21:24 +00:00
avoid memleak
This commit is contained in:
parent
b25485d030
commit
38984b0974
1 changed files with 1 additions and 0 deletions
|
@ -2115,6 +2115,7 @@ fluid_server_handle_connection(fluid_server_t* server, fluid_socket_t client_soc
|
|||
|
||||
client = new_fluid_client(server, server->settings, handler, client_socket);
|
||||
if (client == NULL) {
|
||||
delete_fluid_cmd_handler(handler);
|
||||
return -1;
|
||||
}
|
||||
fluid_server_add_client(server, client);
|
||||
|
|
Loading…
Reference in a new issue