提交 c99cf1d3 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!69 solve memory leak

Merge pull request !69 from Night/master
......@@ -270,6 +270,7 @@ void Platform::user_event_function(const SDL_Event &event) {
if (param) {
if (event_type == USER_CREATE_WINDOW) {
if (tasks_.find(param->taskId) != tasks_.end()) {
delete param;
return;
}
auto w = create_window(param->taskId, param->rect, param->title);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册