diff options
Diffstat (limited to 'src/util/buffer.c')
-rw-r--r-- | src/util/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/buffer.c b/src/util/buffer.c index c865f6307..d0261889e 100644 --- a/src/util/buffer.c +++ b/src/util/buffer.c | |||
@@ -162,7 +162,7 @@ GNUNET_buffer_reap (struct GNUNET_Buffer *buf, size_t *size) | |||
162 | void | 162 | void |
163 | GNUNET_buffer_clear (struct GNUNET_Buffer *buf) | 163 | GNUNET_buffer_clear (struct GNUNET_Buffer *buf) |
164 | { | 164 | { |
165 | GNUNET_free_non_null (buf->mem); | 165 | GNUNET_free (buf->mem); |
166 | memset (buf, 0, sizeof (struct GNUNET_Buffer)); | 166 | memset (buf, 0, sizeof (struct GNUNET_Buffer)); |
167 | } | 167 | } |
168 | 168 | ||