summaryrefslogtreecommitdiff
path: root/ssh-keysign.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2004-01-21 11:02:50 +1100
committerDamien Miller <djm@mindrot.org>2004-01-21 11:02:50 +1100
commitfb1310eded0788f106dc7e1f113cc75e1206cb60 (patch)
treecca2dacd20182354f8b704f62ab03a16a27a9e8f /ssh-keysign.c
parenta04ad496f65ba1c0b6c71c13943ede2711464bc3 (diff)
downloadopenssh-git-fb1310eded0788f106dc7e1f113cc75e1206cb60.tar.gz
- markus@cvs.openbsd.org 2004/01/19 21:25:15
[auth2-hostbased.c auth2-pubkey.c serverloop.c ssh-keysign.c sshconnect2.c] fix mem leaks; some fixes from Pete Flugstad; tested dtucker@
Diffstat (limited to 'ssh-keysign.c')
-rw-r--r--ssh-keysign.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssh-keysign.c b/ssh-keysign.c
index b3db628c..9e9ebe2f 100644
--- a/ssh-keysign.c
+++ b/ssh-keysign.c
@@ -22,7 +22,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-keysign.c,v 1.14 2003/11/17 09:45:39 djm Exp $");
+RCSID("$OpenBSD: ssh-keysign.c,v 1.15 2004/01/19 21:25:15 markus Exp $");
#include <openssl/evp.h>
#include <openssl/rand.h>
@@ -126,6 +126,7 @@ valid_request(struct passwd *pw, char *host, Key **ret, u_char *data,
/* end of message */
if (buffer_len(&b) != 0)
fail++;
+ buffer_free(&b);
debug3("valid_request: fail %d", fail);