From 00316043eeb1d86de28c84ddc99c00ffa6334ebd Mon Sep 17 00:00:00 2001 From: Brandon Harville Date: Sun, 30 Dec 2018 12:10:19 -0500 Subject: [PATCH] Fixed typo --- Ping.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ping.cpp b/Ping.cpp index 07f2850..be1cf68 100644 --- a/Ping.cpp +++ b/Ping.cpp @@ -141,7 +141,7 @@ static err_t ping_send(int s, ip4_addr_t *addr, int size) { if ((err = sendto(s, iecho, ping_size, 0, (struct sockaddr*)&to, sizeof(to)))) { transmitted++; } - free(iecho) + free(iecho); return (err ? ERR_OK : ERR_VAL); }