From 79fbbc2f297eaad34087e91d6d8d03ef76c8808b Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 20 Mar 2006 04:08:19 +0000 Subject: last lot of GSSAPI related leaks detected by Coverity via elad AT netbsd.org; reviewed by simon AT sxw.org.uk; deraadt@ ok --- usr.bin/ssh/gss-serv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.bin/ssh') diff --git a/usr.bin/ssh/gss-serv.c b/usr.bin/ssh/gss-serv.c index 56e33d6a2e8..c1e17cdc5db 100644 --- a/usr.bin/ssh/gss-serv.c +++ b/usr.bin/ssh/gss-serv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gss-serv.c,v 1.14 2006/02/08 13:15:44 stevesk Exp $ */ +/* $OpenBSD: gss-serv.c,v 1.15 2006/03/20 04:08:18 djm Exp $ */ /* * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. @@ -78,6 +78,8 @@ ssh_gssapi_supported_oids(gss_OID_set *oidset) &supported_mechs[i]->oid, oidset); i++; } + + gss_release_oid_set(&min_status, &supported); } -- cgit v1.2.3