{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Test that freed memory objects were, indeed, freed","compare":"/compare/p5-test-weaken/index.json","dependentCount":null,"description":"Test::Weaken helps detect unfreed Perl data in arrays, hashes, scalars,\nobjects, etc, by descending recursively through structures and watching\nthat everything is freed. Unfreed data is a useless overhead and may\ncause an application to abend due to lack of memory.\n\nNormally if the last reference to something is discarded then it and\nanything in it is freed automatically. But this might not occur due to\ncircular references, unexpected global variables or closures, or reference\ncounting mistakes in XSUBs.\n\nTest::Weaken is named for the strategy used to detect leaks. References\nare taken to the test objects and all their contents, then those\nreferences are weakened and expected to be then freed.\n\nThere's options to ignore intentional globals, or include extra associated\ndata held elsewhere, or invoke an explicit destructor. Unfreed parts are\nreported and can be passed to other modules such as Devel::FindRef to try\nto discover why they weren't freed.\n\nTest::Weaken examines structures to an unlimited depth and is safe on\ncircular structures.","flavors":[],"html":"https://daemonports.org/netbsd/devel/p5-Test-Weaken/","kind":"port","lastUpdate":"2026-07-16T19:01:23Z","license":["gnu-gpl-v2 OR artistic"],"maintainer":"pkgsrc-users@NetBSD.org","name":"p5-Test-Weaken","newest":true,"newestVersion":"3.022000","noVulnData":false,"origin":"devel/p5-Test-Weaken","otherSystems":[{"maintainer":"perl@FreeBSD.org","newest":true,"origin":"devel/p5-Test-Weaken","path":"/devel/p5-Test-Weaken/","system":"FreeBSD","version":"3.022000_1"},{"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"devel/p5-Test-Weaken","path":"/openbsd/devel/p5-Test-Weaken/","system":"OpenBSD","version":"3.022000p0"},{"maintainer":"perl@FreeBSD.org","newest":true,"origin":"devel/p5-Test-Weaken","path":"/dragonfly/devel/p5-Test-Weaken/","system":"DragonFly","version":"3.022000_1"},{"maintainer":"ports@MidnightBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Test-Weaken","path":"/midnightbsd/devel/p5-Test-Weaken/","system":"MidnightBSD","version":"3.022000_1"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Test-Weaken","path":"","system":"HardenedBSD","version":"3.022000_1"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Test-Weaken","path":"","system":"GhostBSD","version":"3.022000_1"}],"packages":[{"repo":"NetBSD 10.1 x86_64","versions":["3.022000nb14"]},{"repo":"NetBSD 10.1 aarch64","versions":["3.022000nb14"]},{"repo":"SmartOS / illumos x86_64","versions":["3.022000nb14"]},{"repo":"macOS 15 arm64","versions":["3.022000nb14"]}],"pkgName":"p5-Test-Weaken-3.022000nb14","related":null,"repository":"pkgsrc","requiredBy":[],"requiredByCount":0,"runDepends":["lang/perl5"],"status":null,"system":"netbsd","systemLabel":"NetBSD","version":"3.022000nb14","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/Test-Weaken"}
