Date: Thu, 14 Apr 2016 04:54:47 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r297953 - stable/10/cddl/contrib/opensolaris/lib/libdtrace/common Message-ID: <201604140454.u3E4sl3Q037922@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Thu Apr 14 04:54:47 2016 New Revision: 297953 URL: https://svnweb.freebsd.org/changeset/base/297953 Log: MFC r297827: libdtrace: Add a missing unlock to an error handler. Modified: stable/10/cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c Directory Properties: stable/10/ (props changed) Modified: stable/10/cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c ============================================================================== --- stable/10/cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c Thu Apr 14 04:40:31 2016 (r297952) +++ stable/10/cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c Thu Apr 14 04:54:47 2016 (r297953) @@ -694,6 +694,7 @@ dt_module_load_proc(dtrace_hdl_t *dtp, d arg.dpa_count = 0; if (Pobject_iter_resolved(p, dt_module_load_proc_count, &arg) != 0) { dt_dprintf("failed to iterate objects\n"); + dt_proc_unlock(dtp, p); dt_proc_release(dtp, p); return (dt_set_errno(dtp, EDT_CANTLOAD)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604140454.u3E4sl3Q037922>