From fe6043016c84107132bd0dc80ef454d2c81342b7 Mon Sep 17 00:00:00 2001 From: jbj Date: Tue, 10 Dec 2002 19:46:03 +0000 Subject: Add tp_{init,alloc,new,free} methods to rpmts. Use PyObject_{New,Del} consistently throughout. CVS patchset: 5931 CVS date: 2002/12/10 19:46:03 --- python/rpmfd-py.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/rpmfd-py.c') diff --git a/python/rpmfd-py.c b/python/rpmfd-py.c index 0652824c0..f226cd6ab 100644 --- a/python/rpmfd-py.c +++ b/python/rpmfd-py.c @@ -227,7 +227,7 @@ PyTypeObject rpmfd_Type = { rpmfdObject * rpmfd_Wrap(FD_t fd) { - rpmfdObject *s = PyObject_NEW(rpmfdObject, &rpmfd_Type); + rpmfdObject *s = PyObject_New(rpmfdObject, &rpmfd_Type); if (s == NULL) return NULL; s->fd = fd; -- cgit v1.2.3