gw_buffer was not freed.

This commit is contained in:
vraatikka
2013-10-14 13:16:33 +03:00
parent 42417797a9
commit 0f2eeff243
3 changed files with 23 additions and 17 deletions

View File

@ -805,6 +805,7 @@ mysql_send_custom_error (DCB *dcb, int packet_number, int in_affected_rows, cons
// writing data in the Client buffer queue
dcb->func.write(dcb, buf);
gwbuf_free(buf);
return sizeof(mysql_packet_header) + mysql_payload_size;
}