diff options
-rw-r--r-- | ext/XS-APItest/APItest.xs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/XS-APItest/APItest.xs b/ext/XS-APItest/APItest.xs index cb5de2d871..21f417d25c 100644 --- a/ext/XS-APItest/APItest.xs +++ b/ext/XS-APItest/APItest.xs @@ -2794,8 +2794,9 @@ OUTPUT: void fill_hash_with_nulls(HV *hv) -CODE: +PREINIT: UV i = 0; +CODE: for(; i < 1000; ++i) { HE *entry = hv_fetch_ent(hv, sv_2mortal(newSVuv(i)), 1, 0); SvREFCNT_dec(HeVAL(entry)); |