pkgconf_pkg_free() leaks for packages with PKGCONF_PKG_PROPF_STATIC flag set #132

Closed
opened 2017-09-11 21:03:28 +00:00 by karen-arutyunov · 0 comments
karen-arutyunov commented 2017-09-11 21:03:28 +00:00 (Migrated from github.com)

If pkg->flags has PKGCONF_PKG_PROPF_STATIC bit set the function bails out at the very beginning leaving some heap-allocated structures not freed. For example after pkgconf_pkg_free(client, &world) call in pkgconf_queue_apply() function the world.requires list stays allocated.

If pkg->flags has PKGCONF_PKG_PROPF_STATIC bit set the function bails out at the very beginning leaving some heap-allocated structures not freed. For example after pkgconf_pkg_free(client, &world) call in pkgconf_queue_apply() function the world.requires list stays allocated.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/pkgconf#132
There is no content yet.