=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/compat.c,v retrieving revision 1.98 retrieving revision 1.99 diff -u -r1.98 -r1.99 --- src/usr.bin/ssh/compat.c 2016/05/23 00:17:27 1.98 +++ src/usr.bin/ssh/compat.c 2016/05/24 02:31:57 1.99 @@ -1,4 +1,4 @@ -/* $OpenBSD: compat.c,v 1.98 2016/05/23 00:17:27 dtucker Exp $ */ +/* $OpenBSD: compat.c,v 1.99 2016/05/24 02:31:57 dtucker Exp $ */ /* * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. * @@ -250,7 +250,7 @@ /* * Filters a proposal string, excluding any algorithm matching the 'filter' - * pattern list. Returns a new string and frees the original proposal. + * pattern list. */ static char * filter_proposal(char *proposal, const char *filter) @@ -273,7 +273,6 @@ fix_prop = xstrdup((char *)buffer_ptr(&b)); buffer_free(&b); free(orig_prop); - free(proposal); return fix_prop; }