diff options
Diffstat (limited to 'lib/libc/asr/getnameinfo_async.c')
-rw-r--r-- | lib/libc/asr/getnameinfo_async.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/asr/getnameinfo_async.c b/lib/libc/asr/getnameinfo_async.c index e32501f8337..4b251801896 100644 --- a/lib/libc/asr/getnameinfo_async.c +++ b/lib/libc/asr/getnameinfo_async.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getnameinfo_async.c,v 1.3 2012/08/18 11:19:51 eric Exp $ */ +/* $OpenBSD: getnameinfo_async.c,v 1.4 2012/08/19 16:17:40 eric Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -180,7 +180,7 @@ getnameinfo_async_run(struct async *as, struct async_res *ar) ar->ar_gai_errno = EAI_OVERFLOW; else ar->ar_gai_errno = 0; - freehostent(ar->ar_hostent); + free(ar->ar_hostent); } async_set_state(as, ASR_STATE_HALT); |