mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	sway/main.c: simplify free'ing by switching to the helper method
This commit is contained in:
		
							parent
							
								
									93743e0d5f
								
							
						
					
					
						commit
						c9d634414a
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -224,9 +224,7 @@ int main(int argc, char **argv) {
 | 
				
			||||||
		wlc_run();
 | 
							wlc_run();
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (input_devices) {
 | 
						list_free(input_devices);
 | 
				
			||||||
		free(input_devices);
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ipc_terminate();
 | 
						ipc_terminate();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue