[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: PATCH: pyparted: Remove a couple of unneeded INCREF's from pydisk.c



> Remove a couple of unneeded INCREF's from pydisk.c, stopping us from leaking
> a couple of python objects
> ---
>  src/pydisk.c |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)

These look fine, because we Py_INCREF(self) in the .tp_alloc functions.
Good catch.

Note that the comment above the first chunk needs to be updated as well.

- Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]