Bug 160 - fixed memory leaks with telnetd and debug CLI

This commit is contained in:
Mark Riddoch
2013-09-26 17:38:35 +02:00
parent 1e83308cd1
commit ee7b799bf1
3 changed files with 16 additions and 2 deletions

View File

@ -179,6 +179,7 @@ GWBUF *
gwbuf_consume(GWBUF *head, unsigned int length)
{
GWBUF *rval = head;
CHK_GWBUF(head);
GWBUF_CONSUME(head, length);
if (GWBUF_EMPTY(head))