From: cristy Date: Mon, 19 Jan 2015 01:44:05 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~1415 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46cf0a32a01a89e28e93d80c4627f69832286845;p=imagemagick --- diff --git a/MagickCore/distribute-cache.c b/MagickCore/distribute-cache.c index aa716181a..31d6efabc 100644 --- a/MagickCore/distribute-cache.c +++ b/MagickCore/distribute-cache.c @@ -252,6 +252,7 @@ static int ConnectPixelCacheServer(const char *hostname,const int port, CLOSE_SOCKET(client_socket); client_socket=(SOCKET_TYPE) (-1); } + freeaddrinfo(result); return(client_socket); #else (void) ThrowMagickException(exception,GetMagickModule(),MissingDelegateError,