mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Issue #15609: Fix refleak introduced by my last optimization
This commit is contained in:
		
							parent
							
								
									450dbcf421
								
							
						
					
					
						commit
						c89d28fdfc
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -13449,8 +13449,11 @@ mainformatlong(_PyUnicodeWriter *writer, PyObject *v, | |||
|                 break; | ||||
|         } | ||||
| 
 | ||||
|         if (_PyLong_FormatWriter(writer, v, base, alternate) == -1) | ||||
|         if (_PyLong_FormatWriter(writer, v, base, alternate) == -1) { | ||||
|             Py_DECREF(iobj); | ||||
|             return -1; | ||||
|         } | ||||
|         Py_DECREF(iobj); | ||||
|         return 1; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner