mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Fixed memory leak in DPI function calls
This commit is contained in:
		
							parent
							
								
									4f35a81ad9
								
							
						
					
					
						commit
						490d7a5bf2
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -1467,6 +1467,10 @@ skip_dynamic_range_lvalue_expansion:; | |||
| 				} | ||||
| 
 | ||||
| 				newNode = dpi_call(rtype, fname, argtypes, args); | ||||
| 
 | ||||
| 				for (auto arg : args) | ||||
| 					delete arg; | ||||
| 
 | ||||
| 				goto apply_newNode; | ||||
| 			} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue