PL_endav can be NULL, so in S_ithread_create() no need to set it to newAV().
Nicholas Clark [Tue, 23 Feb 2010 20:35:29 +0000 (20:35 +0000)]
dist/threads/threads.xs

index f341b6f..a559595 100755 (executable)
@@ -784,7 +784,7 @@ S_ithread_create(
          * they are created
          */
         SvREFCNT_dec(PL_endav);
-        PL_endav = newAV();
+        PL_endav = NULL;
 
         clone_param.flags = 0;
         if (SvPOK(init_function)) {