summaryrefslogtreecommitdiff
path: root/kex.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2015-08-19 17:00:17 +0100
committerColin Watson <cjwatson@debian.org>2015-08-19 17:40:32 +0100
commit927d0032b865f05679d3cc052bc13cb0e6490283 (patch)
tree69f782deb79182f26069ff41e9539f17e6e44912 /kex.c
parentd35c65e77ab6a6a95fefa2c852827ba08e507f0b (diff)
parent810eecd6b2e03770f21e46b5cb8ce8c7fcd46da8 (diff)
New upstream release (6.9p1).
Diffstat (limited to 'kex.c')
-rw-r--r--kex.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kex.c b/kex.c
index be938ad04..4d8e6f536 100644
--- a/kex.c
+++ b/kex.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kex.c,v 1.105 2015/01/30 00:22:25 djm Exp $ */ 1/* $OpenBSD: kex.c,v 1.106 2015/04/17 13:25:52 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
4 * 4 *
@@ -245,6 +245,8 @@ kex_prop_free(char **proposal)
245{ 245{
246 u_int i; 246 u_int i;
247 247
248 if (proposal == NULL)
249 return;
248 for (i = 0; i < PROPOSAL_MAX; i++) 250 for (i = 0; i < PROPOSAL_MAX; i++)
249 free(proposal[i]); 251 free(proposal[i]);
250 free(proposal); 252 free(proposal);