HomeSoftware Heritage

Fix memory leak in `query_captures`

Description

Fix memory leak in query_captures

PyList_Append increments the reference count so we must decref the
appended object to avoid a memory leak.

Details

Provenance
Paul Gey <narpfel@gmx.de>Authored on Feb 13 2021, 6:24 PM
vsellierPushed on Aug 17 2021, 6:44 PM
Parents
rPTS87ff2e85f61e: Fix use after free of `Query.capture_names` elements
Branches
Unknown
Tags
Unknown

Event Timeline