Fixed memory leak in _client_authreq109() when returning without calling packet_del_ref()
This commit is contained in:
parent
222f4cd465
commit
488f06791c
1 changed files with 1 additions and 0 deletions
|
@ -1207,6 +1207,7 @@ namespace pvpgn
|
|||
else
|
||||
{
|
||||
eventlog(eventlog_level_info, __FUNCTION__, "[{}] client failed versioncheck", conn_get_socket(c));
|
||||
packet_del_ref(rpacket);
|
||||
send_failed_packet(c);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue