x.c: free_colored_layout stuff leak
This commit is contained in:
		
							parent
							
								
									75ef76946b
								
							
						
					
					
						commit
						cdb39c30b4
					
				
							
								
								
									
										2
									
								
								x.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								x.c
									
									
									
									
									
								
							@ -164,7 +164,9 @@ static void free_colored_layout(void *data)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
        colored_layout *cl = data;
 | 
					        colored_layout *cl = data;
 | 
				
			||||||
        g_object_unref(cl->l);
 | 
					        g_object_unref(cl->l);
 | 
				
			||||||
 | 
					        pango_attr_list_unref(cl->attr);
 | 
				
			||||||
        g_free(cl->text);
 | 
					        g_free(cl->text);
 | 
				
			||||||
 | 
					        g_free(cl);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static bool have_dynamic_width(void)
 | 
					static bool have_dynamic_width(void)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user