kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 712461b081c90b8d73b7a2ecafbd063e5e8806cc
parent 60ce2ce858435762066584459c154ac8a4058eb6
Author: Joris Vink <joris@coders.se>
Date:   Mon, 22 Jul 2013 23:42:40 +0200

kore_buf_appendb(): free d once we are done with it.

Diffstat:
src/buf.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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