diff options
author | Thomas White <taw@physics.org> | 2021-11-03 17:25:20 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-11-03 17:25:20 +0100 |
commit | 7208eecd64ab315fa0c1d3113a3793d20491fb73 (patch) | |
tree | 0b67f19a559740b4e1d9a9e5171af5b61952d6dd /src | |
parent | 19c14a5bb92b392c13c0ce10439e9ec3c0fd1b52 (diff) |
Fixture display: Dump fixture list on disconnection
Diffstat (limited to 'src')
-rw-r--r-- | src/starlet-fixture-display.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/starlet-fixture-display.c b/src/starlet-fixture-display.c index 6afc7f0..bf02350 100644 --- a/src/starlet-fixture-display.c +++ b/src/starlet-fixture-display.c @@ -295,6 +295,9 @@ static gboolean redraw_cb(gpointer data) return G_SOURCE_REMOVE; } else { fixd->repl = NULL; + free(fixd->fixtures); + fixd->fixtures = NULL; + fixd->n_fixtures = 0; redraw(fixd); return G_SOURCE_CONTINUE; } |