From ff14626dc5110d0db866a5f4b0e66f1fdae4b43c Mon Sep 17 00:00:00 2001 From: Georgy Kirichenko <georgy@tarantool.org> Date: Thu, 29 Aug 2019 11:17:13 +0300 Subject: [PATCH] Destroy port after iproto eval if transaction isn't finished This is a followup for 7691154af1a51a620db2d3cc80bf8b8d8ca18714 --- src/box/call.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/box/call.c b/src/box/call.c index 1692107673..48b19f81ac 100644 --- a/src/box/call.c +++ b/src/box/call.c @@ -165,6 +165,7 @@ box_process_eval(struct call_request *request, struct port *port) txn = in_txn(); if (txn != NULL) { diag_set(ClientError, ER_FUNCTION_TX_ACTIVE); + port_destroy(port); txn_rollback(txn); fiber_gc(); return -1; -- GitLab