oops - do not zero unwind cache node after adding it, zero it before adding it

This commit is contained in:
Ryan Fleury
2024-05-28 21:45:14 -07:00
parent e80008cb7e
commit 5778e75d66
+1 -1
View File
@@ -6206,8 +6206,8 @@ df_query_cached_unwind_from_thread(DF_Entity *thread)
{
node = push_array_no_zero(df_state->arena, DF_UnwindCacheNode, 1);
}
DLLPushBack(slot->first, slot->last, node);
MemoryZeroStruct(node);
DLLPushBack(slot->first, slot->last, node);
node->arena = arena_alloc();
node->thread = handle;
}