Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KVManager::proc_initialize memory leak #826

Closed
WinwayJia opened this issue Sep 7, 2020 · 1 comment
Closed

KVManager::proc_initialize memory leak #826

WinwayJia opened this issue Sep 7, 2020 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@WinwayJia
Copy link

      auto r = _map.insert(std::make_pair(engine_name, kvinfo));
      if (!r.second) {
        LOG(ERROR) << "Failed insert item: " << engine_name;
        return -1;
      }

need to delete 'kvinfo' that newed above before the return statment

@github-actions
Copy link

github-actions bot commented Sep 7, 2020

Message that will be displayed on users' first issue

@TeslaZhao TeslaZhao added the question Further information is requested label Sep 7, 2020
@paddle-bot paddle-bot bot closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants