diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2010-02-09 00:50:37 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2010-02-09 00:50:37 +0000 |
commit | ccc06027b35931ceca4af8cdefe23e6f6103f471 (patch) | |
tree | a8ea7bbd0e3f341fac8a4b82588927362a65010c /usr.bin/ssh/ssh-agent.c | |
parent | 46520f860a2e88744dfdce82395eb4b219928162 (diff) |
fallout from PKCS#11: unbreak -D
Diffstat (limited to 'usr.bin/ssh/ssh-agent.c')
-rw-r--r-- | usr.bin/ssh/ssh-agent.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c index eec8a0a8243..5e586a87585 100644 --- a/usr.bin/ssh/ssh-agent.c +++ b/usr.bin/ssh/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 <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -158,7 +158,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); } |