Skip to content

Memory leak when using Rpc server #2614

@pgScorpio

Description

@pgScorpio

Describe the bug
CServerRpc and CClientRpc/CServerRpc are created with "new" in main.cpp, but are never deleted.

To Reproduce
Run Jamulus with and without valid --jsonrpcport and --jsonrpcsecretfile parameters.
Use Visual studio's memory usage diagnostic tool to check the difference in memory usage at exit.

Expected behavior
Cleanup on exit.

Screenshots

Operating system
n.a.

Version of Jamulus
master @ 953f2b8

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions