Closed codecnotsupported closed 3 years ago
https://github.com/rokups/ImNodes/blob/b2274c0293fa2de5486a4b26c38df65f283eef31/sample.cpp#L98 You might want to use smart pointers cause of cases like this.
No leak here. Connections vector stores struct values instead of struct pointers, therefore vector is in charge of managing memory here.
Connections
https://github.com/rokups/ImNodes/blob/b2274c0293fa2de5486a4b26c38df65f283eef31/sample.cpp#L98 You might want to use smart pointers cause of cases like this.