Date: Wed, 11 May 2016 10:06:58 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299421 - head/sys/compat/linuxkpi/common/src Message-ID: <201605111006.u4BA6wlE008630@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Wed May 11 10:06:58 2016 New Revision: 299421 URL: https://svnweb.freebsd.org/changeset/base/299421 Log: Add missing destruction of mutex. MFC after: 1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/common/src/linux_idr.c Modified: head/sys/compat/linuxkpi/common/src/linux_idr.c ============================================================================== --- head/sys/compat/linuxkpi/common/src/linux_idr.c Wed May 11 10:04:32 2016 (r299420) +++ head/sys/compat/linuxkpi/common/src/linux_idr.c Wed May 11 10:06:58 2016 (r299421) @@ -87,6 +87,7 @@ idr_destroy(struct idr *idr) free(il, M_IDR); } mtx_unlock(&idr->lock); + mtx_destroy(&idr->lock); } static void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605111006.u4BA6wlE008630>