mirror of
				https://github.com/python/cpython.git
				synced 2025-11-01 06:01:29 +00:00 
			
		
		
		
	Add a missing decref.
This commit is contained in:
		
							parent
							
								
									52db519faa
								
							
						
					
					
						commit
						f8df9a89bc
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -36,6 +36,7 @@ PyRange_New(long start, long len, long step, int reps) | |||
| 		    (last < (-1 - PyInt_GetMax() - step))) { | ||||
| 			PyErr_SetString(PyExc_OverflowError, | ||||
| 					"integer addition"); | ||||
| 			Py_DECREF(obj); | ||||
| 			return NULL; | ||||
| 		}			 | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Michael W. Hudson
						Michael W. Hudson