Date: Sun, 8 Feb 2015 03:55:13 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r278370 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace Message-ID: <201502080355.t183tDQE002513@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Sun Feb 8 03:55:12 2015 New Revision: 278370 URL: https://svnweb.freebsd.org/changeset/base/278370 Log: Fix a typo in r278137: make sure to free provider state. X-MFC-With: r278136 Modified: head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c ============================================================================== --- head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c Sun Feb 8 01:12:40 2015 (r278369) +++ head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c Sun Feb 8 03:55:12 2015 (r278370) @@ -16881,7 +16881,7 @@ dtrace_dtr(void *data) #ifdef illumos dtrace_state_destroy(state); #else - if (state == NULL) { + if (state != NULL) { dtrace_state_destroy(state); kmem_free(state, 0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502080355.t183tDQE002513>