Open Cyberzoid1 opened 7 years ago
so I just need to add something like: Delete (Node_To_Delete -> FrameData -> RGB)
before deleting the actual node itself?
I was wondering about this earlier, because I'll have to add the same thing into the DeleteNode_Middle function.
Refer to PR #16
Fixed and PR #16 merged and closed
Merge removed code Also consider #27
So I Just remembered this in class.
Before the node is deleted, the method needs to free up the RGB structure. The FrameData contains a pointer to the RGB structure and I think the structure will persist after the node is deleted.