diff --git a/mcrcon.c b/mcrcon.c index ae22e9d..eeac12b 100644 --- a/mcrcon.c +++ b/mcrcon.c @@ -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;