Merge branch '2.1' into develop

This commit is contained in:
Markus Mäkelä
2017-04-05 11:34:59 +03:00
51 changed files with 1133 additions and 450 deletions

View File

@ -337,7 +337,7 @@ GWBUF* gwbuf_clone(GWBUF* buf)
while (clonebuf && buf->next)
{
buf = buf->next;
clonebuf->next = gwbuf_clone(buf);
clonebuf->next = gwbuf_clone_one(buf);
clonebuf = clonebuf->next;
}
@ -638,7 +638,7 @@ gwbuf_rtrim(GWBUF *head, unsigned int n_bytes)
if (GWBUF_EMPTY(head))
{
rval = head->next;
gwbuf_free(head);
gwbuf_free_one(head);
}
return rval;
}