From 83bb8e9bfc0295cb081e3e05d57ae1823eb60d34 Mon Sep 17 00:00:00 2001 From: dfr Date: Wed, 12 Nov 2008 12:21:18 +0000 Subject: Add a missing call to mtx_destroy(). --- sys/rpc/clnt_vc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/rpc') diff --git a/sys/rpc/clnt_vc.c b/sys/rpc/clnt_vc.c index 11fc201..8054a2a 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) -- cgit v1.1