diff --git a/sys/rpc/clnt_vc.c b/sys/rpc/clnt_vc.c index 11fc20191d43..8054a2ab9793 100644 --- a/sys/rpc/clnt_vc.c +++ b/sys/rpc/clnt_vc.c @@ -299,6 +299,7 @@ clnt_vc_create( err: if (cl) { if (ct) { + mtx_destroy(&ct->ct_lock); mem_free(ct, sizeof (struct ct_data)); } if (cl)