diff --git a/src/bus.c b/src/bus.c index 39bae53..187b9e3 100644 --- a/src/bus.c +++ b/src/bus.c @@ -41,6 +41,9 @@ bus_init() void bus_finish(bus_t *t) { + assert(t != NULL); + assert(t->space != NULL); + free(t->space); }