diff options
| author | Saverio Miroddi <[email protected]> | 2026-07-21 13:09:53 +0200 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-07-30 22:03:47 +0000 |
| commit | 3ce6b85a04d5dacf27a228e002a4f301fc88abfd (patch) | |
| tree | 151702bb185cd1d6df8fd90cb9d52948dc06bc58 /data | |
| parent | d3a424b438c4df3e464b652f71ee3f57f5e2bbd2 (diff) | |
| download | mate-notification-daemon-master.tar.bz2 mate-notification-daemon-master.tar.xz | |
g_variant_dup_strv() allocates a vector and duplicates every string. The
generated completion helper copies that vector into the outgoing GVariant,
leaving the duplicated input unowned. AddressSanitizer reports 360 direct
bytes and 420 indirect bytes leaked after five calls.
Pass the constant capability list directly to the helper instead. This
avoids the temporary allocations while leaving the returned capabilities
unchanged.
Signed-off-by: Saverio Miroddi <[email protected]>
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions
