Skip to content

Commit 9f495fc

Browse files
committed
threads.xs: Add _NN to SvREFCNT_dec where we know is NN
1 parent 40d662a commit 9f495fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/threads/threads.xs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ S_ithread_clear(pTHX_ ithread *thread)
261261
thread->params = NULL;
262262

263263
if (thread->err) {
264-
SvREFCNT_dec(thread->err);
264+
SvREFCNT_dec_NN(thread->err);
265265
thread->err = Nullsv;
266266
}
267267

0 commit comments

Comments
 (0)