diff options
author | Damien Miller <djm@mindrot.org> | 2010-02-12 09:22:31 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2010-02-12 09:22:31 +1100 |
commit | a183c6edee2f5238e28607955e8ac95cef7f0d8c (patch) | |
tree | 42f4842cf05c40dbfa77e9eb3b6464da698f404c /ssh-agent.c | |
parent | 048dc93617b7d005d8f7d42da1d52d8982408bdd (diff) |
- djm@cvs.openbsd.org 2010/02/09 00:50:36
[ssh-agent.c]
fallout from PKCS#11: unbreak -D
Diffstat (limited to 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ | |||
1 | /* $OpenBSD: ssh-agent.c,v 1.163 2010/02/08 10:50:20 markus Exp $ */ | 1 | /* $OpenBSD: ssh-agent.c,v 1.164 2010/02/09 00:50:36 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -172,7 +172,8 @@ static void | |||
172 | free_identity(Identity *id) | 172 | free_identity(Identity *id) |
173 | { | 173 | { |
174 | key_free(id->key); | 174 | key_free(id->key); |
175 | xfree(id->provider); | 175 | if (id->provider != NULL) |
176 | xfree(id->provider); | ||
176 | xfree(id->comment); | 177 | xfree(id->comment); |
177 | xfree(id); | 178 | xfree(id); |
178 | } | 179 | } |