mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	workspace_next_name: free targets later than these already found in order
This commit is contained in:
		
							parent
							
								
									785ed4383b
								
							
						
					
					
						commit
						9314c45c41
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -191,6 +191,8 @@ char *workspace_next_name(const char *output_name) {
 | 
			
		|||
				free(target);
 | 
			
		||||
				target = _target;
 | 
			
		||||
				wlr_log(L_DEBUG, "Workspace: Found free name %s", _target);
 | 
			
		||||
			} else {
 | 
			
		||||
				free(_target);
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		free(dup);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue