[Bug 297402] devel/json-c leaks memory

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 09 Aug 2026 18:02:20 UTC
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: sunpoet@FreeBSD.org
          Reporter: fjo@ogris.de
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

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.