Add GWBUF_POINTER_IN_BUFFER macro; add extra free calls to remove memory leaks.

This commit is contained in:
counterpoint
2015-09-22 11:54:47 +01:00
parent 15f042f083
commit 95a4daecc9
3 changed files with 16 additions and 0 deletions

View File

@ -406,6 +406,7 @@ static int gw_read_backend_event(DCB *dcb) {
}
else
{
gwbuf_free(errbuf);
dcb->dcb_errhandle_called = true;
dcb_close(dcb);
rc = 1;