mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] overlay: properly free the graphs before ll free
This commit is contained in:
parent
515f08d2da
commit
50f7a1a99c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user