mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
This commit is contained in:
parent
77a457ad05
commit
13dd8b368b
1 changed files with 3 additions and 0 deletions
|
@ -861,6 +861,9 @@ static PyObject *torrent_get_peer_info(PyObject *self, PyObject *args)
|
|||
"pieces", py_pieces
|
||||
);
|
||||
|
||||
Py_DECREF(py_pieces); // Assuming the previous line does NOT steal the ref, then this is
|
||||
// needed!
|
||||
|
||||
PyTuple_SetItem(ret, i, peer_info);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue