8000 Remove unused decref · python/cpython@69a755b · GitHub
[go: up one dir, main page]

Skip to content

Commit 69a755b

Browse files
committed
Remove unused decref
1 parent 93dec23 commit 69a755b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Modules/_zstd/compressor.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ _get_CDict(ZstdDict *self, int compressionLevel)
169169
/* Get PyCapsule object from self->c_dicts */
170170
ret = PyDict_GetItemRef(self->c_dicts, level, &capsule);
171171
if (ret < 0) {
172-
Py_XDECREF(capsule);
173172
goto error;
174173
}
175174
if (capsule == NULL) {

0 commit comments

Comments
 (0)
0