mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 03:32:28 +00:00 
			
		
		
		
	reset before manager is deallocated
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									a98c925069
								
							
						
					
					
						commit
						66bb310966
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -1514,14 +1514,15 @@ void cmd_context::reset(bool finalize) { | |||
|     m_opt = nullptr; | ||||
|     m_pp_env = nullptr; | ||||
|     m_dt_eh  = nullptr; | ||||
|     m_std_subst = nullptr; | ||||
|     m_rev_subst = nullptr; | ||||
|     if (m_manager) { | ||||
|         dealloc(m_pmanager); | ||||
|         m_pmanager = nullptr; | ||||
|         if (m_own_manager) { | ||||
|             dealloc(m_manager); | ||||
|             m_manager = nullptr; | ||||
|             m_std_subst = nullptr; | ||||
|             m_rev_subst = nullptr; | ||||
| 
 | ||||
|             m_manager_initialized = false; | ||||
|         } | ||||
|         else { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue