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

This commit is contained in:
Joris Vink 2013-07-22 23:42:40 +02:00
parent 60ce2ce858
commit 712461b081
1 changed files with 1 additions and 0 deletions

View File

@ -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