Index: test/mm/slab1/test.c
===================================================================
--- test/mm/slab1/test.c	(revision ff14c520ac9ef1cfa24af4cbbfd3235d2bda51c5)
+++ test/mm/slab1/test.c	(revision 8d6d76a4bbc459fe99a4a5d4d56fe33a66777b6f)
@@ -113,5 +113,7 @@
 	int offs = (int)(__native) data;
 	int i,j;
-
+	
+	thread_detach(THREAD);
+	
 	printf("Starting thread #%d...\n",THREAD->tid);
 	for (j=0; j<10; j++) {
