From a183c6edee2f5238e28607955e8ac95cef7f0d8c Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 12 Feb 2010 09:22:31 +1100 Subject: - djm@cvs.openbsd.org 2010/02/09 00:50:36 [ssh-agent.c] fallout from PKCS#11: unbreak -D --- ssh-agent.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ssh-agent.c') diff --git a/ssh-agent.c b/ssh-agent.c index f745c2513..46a744f4e 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.163 2010/02/08 10:50:20 markus Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.164 2010/02/09 00:50:36 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -172,7 +172,8 @@ static void free_identity(Identity *id) { key_free(id->key); - xfree(id->provider); + if (id->provider != NULL) + xfree(id->provider); xfree(id->comment); xfree(id); } -- cgit v1.2.3