diff --git a/clock.c b/clock.c index 5cccc2e..a3cdd71 100644 --- a/clock.c +++ b/clock.c @@ -84,6 +84,8 @@ static void clock_destroy(struct clock *c) if (c->clkid != CLOCK_REALTIME) { phc_close(c->clkid); } + servo_destroy(c->servo); + mave_destroy(c->avg_delay); memset(c, 0, sizeof(*c)); }