diff --git a/sourcepawn/compiler/sctracker.c b/sourcepawn/compiler/sctracker.c index b3bbc1a9..e0617c47 100644 --- a/sourcepawn/compiler/sctracker.c +++ b/sourcepawn/compiler/sctracker.c @@ -410,8 +410,8 @@ void popstacklist(int codegen) if (codegen) { _stack_genusage(stackusage, 1); + assert(stackusage->head==NULL); } - assert(stackusage->head==NULL); oldlist = stackusage->prev; free(stackusage);