PL_endav can be NULL, so in S_ithread_create() no need to set it to newAV().
authorNicholas Clark <nick@ccl4.org>
Tue, 23 Feb 2010 20:35:29 +0000 (20:35 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 20 May 2010 19:55:42 +0000 (20:55 +0100)
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)) {