mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Issue #15291: Fix a memory leak where AST nodes where not properly deallocated.
This commit is contained in:
		
							parent
							
								
									bc07a5c913
								
							
						
					
					
						commit
						507507473e
					
				
					 3 changed files with 5 additions and 0 deletions
				
			
		|  | @ -464,6 +464,7 @@ static void | |||
| ast_dealloc(AST_object *self) | ||||
| { | ||||
|     Py_CLEAR(self->dict); | ||||
|     Py_TYPE(self)->tp_free(self); | ||||
| } | ||||
| 
 | ||||
| static int | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Antoine Pitrou
						Antoine Pitrou