Skip to content

BUG: Memory leak bug similar to a previous fixing commit a727596 #2891

Open

Description

@Snape3058

https://github.com/shadowsocks/shadowsocks-libev/blob/e21f8248b64528b9a30a87331074a0eae6676225/src/jconf.c#L309

Similar to the memory leak that has been fixed with commit a727596, the argument returned by to_string will also get leaked after call to function parse_dscp.

Activity

  1. changed the title [-]BUG: Memory leak bug similar to a fixing commit[/-] [+]BUG: Memory leak bug similar to a previous fixing commit a727596[/+] on Apr 26, 2022
  2. madeye commented on Jun 17, 2026

    @madeye
    Contributor

    Triaged — confirmed leak: parse_dscp(to_string(v)) in src/jconf.c (~line 309) never frees the heap string returned by to_string. Labeling bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions