fix random garbage ptr issues

This commit is contained in:
2026-09-05 17:02:58 +02:00
parent 6b5f30b334
commit 32c94e0776
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -155,11 +155,11 @@ class PD_API Container {
/** Container Size*/
fvec2 size;
/** Reference to the Drawlist to Draw to*/
Li::Drawlist* list;
Li::Drawlist* list = nullptr;
/** IO Reference for Renderer and Theme */
UI7::IO* io;
UI7::IO* io = nullptr;
/** Reference to the parent container*/
Container* parent;
Container* parent = nullptr;
/** Object ID (0 if unused)*/
u32 id = 0;
/** Internal Flags */