summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/buffer.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2013-05-17 00:13:13 +0000
committerdjm <djm@openbsd.org>2013-05-17 00:13:13 +0000
commit0d40fefd5c44016278e5af8155da9b06ebdf4527 (patch)
tree4a9db9d89b25874840f0a2812731f84c08b95893 /usr.bin/ssh/buffer.c
parentburner support (diff)
downloadwireguard-openbsd-0d40fefd5c44016278e5af8155da9b06ebdf4527.tar.xz
wireguard-openbsd-0d40fefd5c44016278e5af8155da9b06ebdf4527.zip
bye, bye xfree(); ok markus@
Diffstat (limited to 'usr.bin/ssh/buffer.c')
-rw-r--r--usr.bin/ssh/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/buffer.c b/usr.bin/ssh/buffer.c
index 656454bf84e..de32c0e0a86 100644
--- a/usr.bin/ssh/buffer.c
+++ b/usr.bin/ssh/buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buffer.c,v 1.32 2010/02/09 03:56:28 djm Exp $ */
+/* $OpenBSD: buffer.c,v 1.33 2013/05/17 00:13:13 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -48,7 +48,7 @@ buffer_free(Buffer *buffer)
if (buffer->alloc > 0) {
memset(buffer->buf, 0, buffer->alloc);
buffer->alloc = 0;
- xfree(buffer->buf);
+ free(buffer->buf);
}
}