[pool_release] reset width on recycle

This commit is contained in:
nick black 2021-03-21 23:07:12 -04:00
parent 92b2165b39
commit 6fd9a9fda9
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -738,6 +738,7 @@ pool_release(egcpool* pool, nccell* c){
egcpool_release(pool, cell_egc_idx(c));
}
c->gcluster = 0; // don't subject ourselves to double-release problems
c->width = 0; // don't subject ourselves to geometric ambiguities
}
// set the nccell 'c' to point into the egcpool at location 'eoffset'