svn commit: r184877 - head/sys/rpc

Doug Rabson dfr at FreeBSD.org
Wed Nov 12 04:21:19 PST 2008


Author: dfr
Date: Wed Nov 12 12:21:18 2008
New Revision: 184877
URL: http://svn.freebsd.org/changeset/base/184877

Log:
  Add a missing call to mtx_destroy().

Modified:
  head/sys/rpc/clnt_vc.c

Modified: head/sys/rpc/clnt_vc.c
==============================================================================
--- head/sys/rpc/clnt_vc.c	Wed Nov 12 10:54:04 2008	(r184876)
+++ head/sys/rpc/clnt_vc.c	Wed Nov 12 12:21:18 2008	(r184877)
@@ -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)


More information about the svn-src-all mailing list