PATCH: pyparted: Remove an unneeded INCREF from pygeom

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

 



Remove an unneeded INCREF from pygeom.
---
 src/pygeom.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/pygeom.c b/src/pygeom.c
index 34cb54c..113eb76 100644
--- a/src/pygeom.c
+++ b/src/pygeom.c
@@ -109,7 +109,6 @@ int _ped_Geometry_init(_ped_Geometry *self, PyObject *args, PyObject *kwds) {
     self->length = geometry->length;
     self->end = geometry->end;

-    Py_INCREF(self);
     return 0;
 }

--
1.6.1.3

_______________________________________________
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