Skip to content

First demo program (local_chat_demo.cpp) leaks memory like a sieve #14

@tgill880

Description

@tgill880

Describe the bug
When the program successfully exits, there are multiple memory allocations that have not been deallocated.

To Reproduce
g++ -std=c++17 -g3 -fsanitize=address (etc)
OR
valgrind --tool=memcheck --leak-check=yes ./a.out

Expected behavior
No memory leaks should be present

Desktop:

  • OS: [Ubuntu Linux 13.04]
  • Compiler [g++ 7.3]
  • Version [1.0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions