mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-08 21:33:57 +00:00
[client] overlay: properly free the graphs before ll free
This commit is contained in:
parent
515f08d2da
commit
50f7a1a99c
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue