diff --git a/client/src/overlay/graphs.c b/client/src/overlay/graphs.c index 1d8e3793..25479620 100644 --- a/client/src/overlay/graphs.c +++ b/client/src/overlay/graphs.c @@ -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); }