Summary: |
Memory leak in EnumerateActions call results handler (polkit_authority_enumerate_actions_finish) |
Product: |
PolicyKit
|
Reporter: |
Max A. Dednev <dednev> |
Component: |
libpolkit | Assignee: |
David Zeuthen (not reading bugmail) <zeuthen> |
Status: |
RESOLVED
FIXED
|
QA Contact: |
David Zeuthen (not reading bugmail) <zeuthen> |
Severity: |
major
|
|
|
Priority: |
medium
|
CC: |
dednev, simonandric5, walters
|
Version: |
unspecified | |
|
Hardware: |
All | |
|
OS: |
All | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
Fix for memory leak in EnumerateActions call results handler.
|
Created attachment 112087 [details] Fix for memory leak in EnumerateActions call results handler. I've found, that policykit-1-0.105 in my Debian Wheezy doesn't release reference counters of GVariant data for org.freedesktop.PolicyKit1.Authority.EnumerateActions DBUS call resulting data. See patch in attachment. g_variant_ref_sink (child) call was odd in case of iterating array child items.