Fixes to coverity defects 87601 87557 87548 87547 87546 87545 87544 87536 87535 87529 87528

This commit is contained in:
Markus Makela
2015-02-22 22:29:30 +02:00
parent 22255a6045
commit 46c4fefb00
8 changed files with 16 additions and 10 deletions

View File

@ -3758,7 +3758,7 @@ static GWBUF* sescmd_cursor_process_replies(
dcb_close(bref->bref_dcb);
*reconnect = true;
if(replybuf)
gwbuf_free(replybuf);
gwbuf_consume(replybuf,gwbuf_length(replybuf));
}
}
/** This is a response from the master and it is the "right" one.