Skip to content

Commit dbfba04

Browse files
committed
wip
1 parent 1a8ddda commit dbfba04

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

plugins/in_forward/fw_prot.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,6 +1551,13 @@ int fw_prot_process(struct flb_input_instance *ins, struct fw_conn *conn)
15511551
flb_sds_destroy(out_tag);
15521552
return 0;
15531553
}
1554+
if (conn->being_deleted) {
1555+
pthread_mutex_unlock(&ctx->conn_mutex);
1556+
msgpack_unpacked_destroy(&result);
1557+
msgpack_unpacker_free(unp);
1558+
flb_sds_destroy(out_tag);
1559+
return 0;
1560+
}
15541561
pthread_mutex_unlock(&ctx->conn_mutex);
15551562
}
15561563
}

0 commit comments

Comments
 (0)