mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	view.c: free icon name on view destroy
This commit is contained in:
		
							parent
							
								
									4d79f0057f
								
							
						
					
					
						commit
						74018495cd
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -2595,6 +2595,7 @@ view_destroy(struct view *view)
 | 
				
			||||||
	if (view->icon.buffers.data) {
 | 
						if (view->icon.buffers.data) {
 | 
				
			||||||
		view_set_icon(view, NULL, NULL);
 | 
							view_set_icon(view, NULL, NULL);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						zfree(view->icon.name);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/*
 | 
						/*
 | 
				
			||||||
	 * The layer-shell top-layer is disabled when an application is running
 | 
						 * The layer-shell top-layer is disabled when an application is running
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue