diff --git a/Subsystems/cmdUtil/SendUdp.c b/Subsystems/cmdUtil/SendUdp.c index c64903b..240f061 100644 --- a/Subsystems/cmdUtil/SendUdp.c +++ b/Subsystems/cmdUtil/SendUdp.c @@ -91,6 +91,7 @@ int SendUdp(char *hostname, char *portNum, unsigned char *packetData, int packet if (rp == NULL) { + freeaddrinfo(result); return -4; }