PERFORCE change 132127 for review

John Birrell jb at FreeBSD.org
Sun Dec 30 13:18:37 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=132127

Change 132127 by jb at 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
 


More information about the p4-projects mailing list