Date: Sat, 12 Jan 2008 05:03:00 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 133093 for review Message-ID: <200801120503.m0C530MP007393@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=133093 Change 133093 by jb@jb_freebsd1 on 2008/01/12 05:02:59 NULL pointer check. Affected files ... .. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/dtrace/dtrace.c#16 edit Differences ... ==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/dtrace/dtrace.c#16 (text) ==== @@ -13183,7 +13183,10 @@ dtrace_format_destroy(state); - vmem_destroy(state->dts_aggid_arena); + if (state->dts_aggid_arena != NULL) { + vmem_destroy(state->dts_aggid_arena); + state->dts_aggid_arena = NULL; + } #if defined(sun) ddi_soft_state_free(dtrace_softstate, minor); vmem_free(dtrace_minor, (void *)(uintptr_t)minor, 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801120503.m0C530MP007393>