Skip to content

Commit 69112e9

Browse files
Apply suggestions from code review
Co-authored-by: Pieter Eendebak <[email protected]>
1 parent 7bf51d6 commit 69112e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/specialize.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2521,8 +2521,8 @@ _Py_Specialize_BinaryOp(_PyStackRef lhs_st, _PyStackRef rhs_st, _Py_CODEUNIT *in
25212521
_PyBinaryOpCache *cache = (_PyBinaryOpCache *)(instr + 1);
25222522
if (instr->op.code == BINARY_OP_EXTEND) {
25232523
void *data = read_void(cache->external_cache);
2524-
free_binary_op_specialization_descr(data);
25252524
write_void(cache->external_cache, NULL);
2525+
free_binary_op_specialization_descr(data);
25262526
}
25272527

25282528
switch (oparg) {

0 commit comments

Comments
 (0)