[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
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Subject: Re: PATCH: pyparted: Remove a couple of unneeded INCREF's from pydisk.c
- Date: Fri, 20 Feb 2009 10:53:17 -0500
> 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]