diff --git a/test/testaudio.c b/test/testaudio.c index c39861f35b..8abb3b2d95 100644 --- a/test/testaudio.c +++ b/test/testaudio.c @@ -300,6 +300,7 @@ static void DestroyThing(Thing *thing) } if (thing->prev) { + SDL_assert(thing != things); thing->prev->next = thing->next; } else { SDL_assert(thing == things);