From c7b8f980d81b7542fa2da76dd27c6af070e4cce1 Mon Sep 17 00:00:00 2001 From: dfr Date: Wed, 13 Aug 2008 12:04:54 +0000 Subject: Add a missing call to mtx_destroy() in clnt_reconnect_destroy(). Submitted by: zachary.loafman at isilon.com MFC after: 2 weeks --- sys/rpc/clnt_rc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/rpc') diff --git a/sys/rpc/clnt_rc.c b/sys/rpc/clnt_rc.c index a6b2dfd..f0ad673 100644 --- a/sys/rpc/clnt_rc.c +++ b/sys/rpc/clnt_rc.c @@ -385,6 +385,7 @@ clnt_reconnect_destroy(CLIENT *cl) if (rc->rc_client) CLNT_DESTROY(rc->rc_client); + mtx_destroy(&rc->rc_lock); mem_free(rc, sizeof(*rc)); mem_free(cl, sizeof (CLIENT)); } -- cgit v1.1