Fix leaked KrkLong in rshift_z

This commit is contained in:
K. Lange 2024-02-15 17:49:38 +09:00
parent c179b7f4b4
commit d920ff7f54

View File

@ -1538,6 +1538,7 @@ static void _krk_long_rshift_z(krk_long out, krk_long val, size_t amount) {
krk_long_init_si(&one, 1);
krk_long_add(out,out,&one);
krk_long_set_sign(out,-1);
krk_long_clear(&one);
}
}