[Python-checkins] python/dist/src/Objects structseq.c,1.7,1.8

nascheme@sourceforge.net nascheme@sourceforge.net
Thu, 11 Apr 2002 20:05:39 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv18415/Objects

Modified Files:
	structseq.c 
Log Message:
Remove PyMalloc_New and PyMalloc_Del.


Index: structseq.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/structseq.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** structseq.c	22 Mar 2002 15:30:25 -0000	1.7
--- structseq.c	12 Apr 2002 03:05:37 -0000	1.8
***************
*** 23,27 ****
  	PyStructSequence *obj;
         
! 	obj = PyMalloc_New(PyStructSequence, type);
  	obj->ob_size = VISIBLE_SIZE_TP(type);
  
--- 23,27 ----
  	PyStructSequence *obj;
         
! 	obj = PyObject_New(PyStructSequence, type);
  	obj->ob_size = VISIBLE_SIZE_TP(type);
  
***************
*** 38,42 ****
  		Py_XDECREF(obj->ob_item[i]);
  	}
! 	PyMalloc_Del(obj);
  }
  
--- 38,42 ----
  		Py_XDECREF(obj->ob_item[i]);
  	}
! 	PyObject_Del(obj);
  }