Fix invalid free

This commit is contained in:
Tiiffi
2019-10-20 16:08:51 +03:00
parent cbbfdad94e
commit 208e040305

View File

@ -615,8 +615,6 @@ int rcon_command(int sock, char *command)
net_send_packet(sock, packet);
free(packet);
packet = net_recv_packet(sock);
if (packet == NULL)
return 0;