[Bug 297402] devel/json-c leaks memory

[email protected] Sun, 09 Aug 2026 18:02:20 +0000
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297402

            Bug ID: 297402
           Summary: devel/json-c leaks memory
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

Created attachment 273580
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=273580&action=edit
Trivial patch

Current 0.19 does not release memory as the crucial call of
_json_object_put_maybe_free() is wrapped in an assertion. Fixed in upstream
https://github.com/json-c/json-c/commit/f291fa81c6f21d925ea771a8cca597f5886309cc
but no new release yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.