Date: Sun, 30 Dec 2007 21:18:36 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 132127 for review Message-ID: <200712302118.lBULIatg079288@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132127 Change 132127 by jb@jb_freebsd1 on 2007/12/30 21:17:40 Destroy the cyclic ID cache on uninit to avoid a memory leak. Affected files ... .. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/os/cyclic.c#13 edit Differences ... ==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/os/cyclic.c#13 (text) ==== @@ -2964,6 +2964,9 @@ cyclic_offline(c); cyclic_unconfigure(c); } + + if (cyclic_id_cache != NULL) + kmem_cache_destroy(cyclic_id_cache); } #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712302118.lBULIatg079288>