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

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

 



> 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux