(doit): call freehostent

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6752 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-08-05 12:19:45 +00:00
parent 106427eaa1
commit fd6e3126dc

View File

@@ -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;
} }