From a9ccfd56e34e4e83f04253408edec01efa5bfd60 Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Wed, 12 Nov 2008 12:21:18 +0000 Subject: [PATCH] Add a missing call to mtx_destroy(). --- sys/rpc/clnt_vc.c | 1 + 1 file changed, 1 insertion(+) 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)