{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"finding memory leaks in perl XS","compare":"/compare/p5-devel-leak/index.json","dependentCount":null,"description":"Devel::Leak has two functions NoteSV and CheckSV.\n\nNoteSV walks the perl internal table of allocated SVs (scalar values) - (which\nactually  contains arrays and hashes too), and records their addresses in a\ntable. It returns a count of these \"things\", and stores a pointer to the\ntable (which is obtained from the heap using malloc()) in its argument.\n\nNote that you need a perl built with -DDEBUGGING for\nsv_dump() to print anything, but counts are valid in any perl.\n\nIf new \"things\" have been created, CheckSV may (also) report additional\n\"things\" which are allocated by the sv_dump() code.","flavors":[],"html":"https://daemonports.org/openbsd/devel/p5-Devel-Leak/","kind":"port","lastUpdate":null,"license":null,"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","name":"p5-Devel-Leak","newest":true,"newestVersion":"0.04","noVulnData":true,"origin":"devel/p5-Devel-Leak","otherSystems":[{"maintainer":"perl@FreeBSD.org","origin":"devel/p5-Devel-Leak","path":"/devel/p5-Devel-Leak/","system":"FreeBSD","version":"0.03_2"},{"maintainer":"pkgsrc-users@NetBSD.org","newest":true,"origin":"devel/p5-Devel-Leak","path":"/netbsd/devel/p5-Devel-Leak/","system":"NetBSD","updated":"2026-07-16","version":"0.04nb9"},{"maintainer":"perl@FreeBSD.org","origin":"devel/p5-Devel-Leak","path":"/dragonfly/devel/p5-Devel-Leak/","system":"DragonFly","version":"0.03_2"},{"maintainer":"perl@FreeBSD.org","noVulnData":true,"origin":"devel/p5-Devel-Leak","path":"","system":"HardenedBSD","version":"0.03_2"},{"maintainer":"perl@FreeBSD.org","noVulnData":true,"origin":"devel/p5-Devel-Leak","path":"","system":"GhostBSD","version":"0.03_2"}],"packages":null,"pkgName":"p5-Devel-Leak-0.04","related":null,"repository":"OpenBSD ports","requiredBy":[],"requiredByCount":0,"runDepends":[],"status":null,"system":"openbsd","systemLabel":"OpenBSD","version":"0.04","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/Devel-Leak"}
