1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-12-23 07:30:31 +00:00

Add asserts to freeing the bus.

This commit is contained in:
Radosław Kujawa 2017-01-16 21:34:56 +01:00
parent e7c81c0fbc
commit 26384ce27d

View File

@ -41,6 +41,9 @@ bus_init()
void
bus_finish(bus_t *t)
{
assert(t != NULL);
assert(t->space != NULL);
free(t->space);
}