memory leak in bus_get_group_properties
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DBus Menu |
New
|
Undecided
|
Unassigned |
Bug Description
This bug discusses the segment of code beginning at line 1381 of server.c:
http://
The variant ret is created either by g_variant_
Here is a valgrind log of nm-applet illustrating the problem.
==10301== 200 bytes in 20 blocks are definitely lost in loss record 8,473 of 9,326
==10301== at 0x4C28FAC: malloc (vg_replace_
==10301== by 0x8F62A62: g_malloc (gmem.c:164)
==10301== by 0x8F9E952: g_variant_type_copy (gvarianttype.
==10301== by 0x5045E00: bus_get_
==10301== by 0x6D1834F: call_in_idle_cb (gdbusconnectio
==10301== by 0x8F5BBCC: g_main_
==10301== by 0x8F5C3A7: g_main_
==10301== by 0x8F5C9F1: g_main_loop_run (gmain.c:3299)
==10301== by 0x416D77: main (main.c:101)
This bug is similar to another bug I recently filed. That other bug has somewhat more detail.