Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/heimdal/dist/lib/roken PR/48718: Juergen...
details: https://anonhg.NetBSD.org/src/rev/c98cd75ea9f0
branches: trunk
changeset: 795300:c98cd75ea9f0
user: christos <christos%NetBSD.org@localhost>
date: Sun Apr 06 14:36:35 2014 +0000
description:
PR/48718: Juergen Hannken-Illjes: Heimdal leaks file descriptors
Add missing call to free the resolve handle on success.
XXX: pullup 6
diffstat:
crypto/external/bsd/heimdal/dist/lib/roken/resolve.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 8b27746f2576 -r c98cd75ea9f0 crypto/external/bsd/heimdal/dist/lib/roken/resolve.c
--- a/crypto/external/bsd/heimdal/dist/lib/roken/resolve.c Sun Apr 06 12:43:18 2014 +0000
+++ b/crypto/external/bsd/heimdal/dist/lib/roken/resolve.c Sun Apr 06 14:36:35 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: resolve.c,v 1.1.1.1 2011/04/13 18:15:42 elric Exp $ */
+/* $NetBSD: resolve.c,v 1.2 2014/04/06 14:36:35 christos Exp $ */
/*
* Copyright (c) 1995 - 2006 Kungliga Tekniska Högskolan
@@ -590,6 +590,7 @@
len = min(len, size);
r = parse_reply(reply, len);
+ resolve_free_handle(handle);
free(reply);
return r;
}
Home |
Main Index |
Thread Index |
Old Index