Memory leak on ImGui::Shutdown #110

Closed
opened 2015-01-07 14:41:33 +00:00 by septag · 1 comment
septag commented 2015-01-07 14:41:33 +00:00 (Migrated from github.com)

There's a memory leak on Shutdown. You have added ColorModifiers vector in recent commits. But forgot to clear it on shutdown.
It also causes crash on systems that has overriden memory allocations.

This bug can be fixed by adding

g.ColorModifiers.clear();

To the ImGui::Shutdown function

There's a memory leak on Shutdown. You have added ColorModifiers vector in recent commits. But forgot to clear it on shutdown. It also causes crash on systems that has overriden memory allocations. This bug can be fixed by adding ``` g.ColorModifiers.clear(); ``` To the _ImGui::Shutdown_ function
ocornut commented 2015-01-07 14:55:32 +00:00 (Migrated from github.com)

Thanks!

Thanks!
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ocornut/imgui#110
No description provided.