mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Merge pull request #1596 from mtrberzi/develop
fix memory leak related to #1575
This commit is contained in:
		
						commit
						b5c77065e9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -8096,7 +8096,7 @@ namespace smt {
 | 
				
			||||||
            rational nn1Len, nn2Len;
 | 
					            rational nn1Len, nn2Len;
 | 
				
			||||||
            bool nn1Len_exists = get_len_value(lhs, nn1Len);
 | 
					            bool nn1Len_exists = get_len_value(lhs, nn1Len);
 | 
				
			||||||
            bool nn2Len_exists = get_len_value(rhs, nn2Len);
 | 
					            bool nn2Len_exists = get_len_value(rhs, nn2Len);
 | 
				
			||||||
            expr * emptyStr = mk_string("");
 | 
					            expr_ref emptyStr(mk_string(""), m);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (nn1Len_exists && nn1Len.is_zero()) {
 | 
					            if (nn1Len_exists && nn1Len.is_zero()) {
 | 
				
			||||||
                if (!in_same_eqc(lhs, emptyStr) && rhs != emptyStr) {
 | 
					                if (!in_same_eqc(lhs, emptyStr) && rhs != emptyStr) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue