(doit): call freehostent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6752 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -336,8 +336,10 @@ doit (const char *hostname, int port, const char *service) | |||||||
| 	    close (s); | 	    close (s); | ||||||
| 	    continue; | 	    continue; | ||||||
| 	} | 	} | ||||||
|  | 	freehostent (hostent); | ||||||
| 	return proto (s, hostname, service); | 	return proto (s, hostname, service); | ||||||
|     } |     } | ||||||
|  |     freehostent (hostent); | ||||||
|     return 1; |     return 1; | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund