# HG changeset patch # User Matt Johnston # Date 1424356911 -28800 # Node ID ea4676b840ef46c8d936eb4ae2cce87649455406 # Parent daf21fd50abfc25b45936339ad7a2c08ba5f1e61 Add the missing second half of iov code diff -r daf21fd50abf -r ea4676b840ef dbutil.c --- a/dbutil.c Thu Feb 19 00:32:00 2015 +0800 +++ b/dbutil.c Thu Feb 19 22:41:51 2015 +0800 @@ -1086,6 +1086,10 @@ /* No kernel MSG_FASTOPEN support. Fall back below */ c->writequeue = NULL; } + m_free(message.msg_iov); + if (res > 0) { + packet_queue_consume(c->writequeue, res); + } } if (!c->writequeue) {