summaryrefslogtreecommitdiffhomepage
path: root/dbutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbutil.c')
-rw-r--r--dbutil.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbutil.c b/dbutil.c
index 01b541c..f1a0f19 100644
--- a/dbutil.c
+++ b/dbutil.c
@@ -1086,6 +1086,10 @@ static void connect_try_next(struct dropbear_progress_connection *c) {
/* 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) {