From 712461b081c90b8d73b7a2ecafbd063e5e8806cc Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Mon, 22 Jul 2013 23:42:40 +0200 Subject: [PATCH] kore_buf_appendb(): free d once we are done with it. --- src/buf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/buf.c b/src/buf.c index 86fa7ec..dce2f4c 100644 --- a/src/buf.c +++ b/src/buf.c @@ -49,6 +49,7 @@ kore_buf_appendb(struct kore_buf *buf, struct kore_buf *src) d = kore_buf_release(src, &len); kore_buf_append(buf, d, len); + kore_mem_free(d); } void