mem leak: unreachable code prevented freeing of allocated memory
(Coverity CID 612 NetBSD Scan 5)
This commit is contained in:
parent
bee1c2beb6
commit
063cb750db
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ntpdc.c,v 1.5 2003/12/04 16:23:38 drochner Exp $ */
|
||||
/* $NetBSD: ntpdc.c,v 1.6 2006/03/18 15:22:34 kardel Exp $ */
|
||||
|
||||
/*
|
||||
* ntpdc - control and monitor your ntpd daemon
|
||||
|
@ -543,7 +543,6 @@ openhost(
|
|||
ai->ai_addrlen) == -1)
|
||||
#endif /* SYS_VXWORKS */
|
||||
error("connect", "", "");
|
||||
if (a_info)
|
||||
freeaddrinfo(ai);
|
||||
havehost = 1;
|
||||
req_pkt_size = REQ_LEN_NOMAC;
|
||||
|
|
Loading…
Reference in New Issue