gc: oops, forgot the "freed" count (again)

Partial work towards addressing issue #534.
This commit is contained in:
Yorick Hardy 2024-12-31 11:48:49 +02:00
parent fb334d1e89
commit 20e1a14222

2
gc.c
View file

@ -2739,7 +2739,7 @@ void gc_thread_data_free(gc_thread_data * thd)
*
* This function assumes appropriate locks are already held.
*/
void gc_heap_merge(gc_heap * hdest, gc_heap * hsrc)
int gc_heap_merge(gc_heap * hdest, gc_heap * hsrc)
{
int freed = 0;
gc_heap *last = gc_heap_last(hdest);