mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-11-04 06:31:54 +00:00 
			
		
		
		
	[client] overlay: properly free the graphs before ll free
This commit is contained in:
		@@ -48,6 +48,9 @@ static bool graphs_init(void ** udata, void * params)
 | 
			
		||||
 | 
			
		||||
static void graphs_free(void * udata)
 | 
			
		||||
{
 | 
			
		||||
  struct OverlayGraph * graph;
 | 
			
		||||
  while(ll_shift(gs.graphs, (void **)&graph))
 | 
			
		||||
    free(graph);
 | 
			
		||||
  ll_free(gs.graphs);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user