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