mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Fix more memory allocation issues found with failmalloc.
This commit is contained in:
		
							parent
							
								
									468e45edc1
								
							
						
					
					
						commit
						b59d08c2fb
					
				
					 6 changed files with 74 additions and 36 deletions
				
			
		|  | @ -727,7 +727,7 @@ symtable_exit_block(struct symtable *st, void *ast) | |||
| { | ||||
| 	Py_ssize_t end; | ||||
| 
 | ||||
| 	Py_DECREF(st->st_cur); | ||||
| 	Py_CLEAR(st->st_cur); | ||||
| 	end = PyList_GET_SIZE(st->st_stack) - 1; | ||||
| 	if (end >= 0) { | ||||
| 		st->st_cur = (PySTEntryObject *)PyList_GET_ITEM(st->st_stack,  | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Neal Norwitz
						Neal Norwitz