wireplumber/modules
Barnabás Pőcze ed80938b8c module-dbus-connection: fix GCancellable leak
`wp_dbus_connection_disable()` creates a new GCancellable
object at the end, which is never freed if the GObject
is then destroyed. To fix this, override `finalize()` and
clear everything there as well.

Direct leak of 64 byte(s) in 1 object(s) allocated from:
    0 0x70e688efd1aa in calloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:77
    1 0x70e6874b3e62 in g_malloc0 (/usr/lib/libglib-2.0.so.0+0x63e62) (BuildId: 7b781c8d1a6e2161838c5d8f3bd797797c132753)
    2 0x70e6875dea75 in g_type_create_instance (/usr/lib/libgobject-2.0.so.0+0x3ea75) (BuildId: 5af5e0f7d0a900ecb6083fbd71e22e5522d872e2)
    3 0x70e6875c3804  (/usr/lib/libgobject-2.0.so.0+0x23804) (BuildId: 5af5e0f7d0a900ecb6083fbd71e22e5522d872e2)
    4 0x70e6875c4e7e in g_object_new_with_properties (/usr/lib/libgobject-2.0.so.0+0x24e7e) (BuildId: 5af5e0f7d0a900ecb6083fbd71e22e5522d872e2)
    5 0x70e6875c5ed1 in g_object_new (/usr/lib/libgobject-2.0.so.0+0x25ed1) (BuildId: 5af5e0f7d0a900ecb6083fbd71e22e5522d872e2)
    6 0x70e684d2a8a6 in wp_dbus_connection_disable ../subprojects/wireplumber/modules/module-dbus-connection.c:173
    7 0x70e688a833cc in wp_plugin_deactivate ../subprojects/wireplumber/lib/wp/plugin.c:144
    8 0x70e688a7126c in wp_object_deactivate ../subprojects/wireplumber/lib/wp/object.c:542
    9 0x70e688a6e74e in wp_object_dispose ../subprojects/wireplumber/lib/wp/object.c:191
    10 0x70e6875c0f6c in g_object_unref (/usr/lib/libgobject-2.0.so.0+0x20f6c) (BuildId: 5af5e0f7d0a900ecb6083fbd71e22e5522d872e2)
    11 0x70e6841f7d6d in wp_portal_permissionstore_plugin_disable ../subprojects/wireplumber/modules/module-portal-permissionstore.c:207
    12 0x70e688a833cc in wp_plugin_deactivate ../subprojects/wireplumber/lib/wp/plugin.c:144
    [...]
2024-09-26 15:08:39 +02:00
..
module-lua-scripting m-lua-scripting: correct typo 2024-05-08 14:20:16 +00:00
module-reserve-device dbus: refactor WpDBus into a plugin called dbus-connection 2023-06-20 12:39:29 +03:00
dbus-connection-state.h dbus: refactor WpDBus into a plugin called dbus-connection 2023-06-20 12:39:29 +03:00
meson.build remove "virtual items" scripts, m-si-audio-virtual and related tests 2024-06-26 15:48:07 +03:00
module-dbus-connection.c module-dbus-connection: fix GCancellable leak 2024-09-26 15:08:39 +02:00
module-default-nodes-api.c metadata: remove wp_metadata_iterator_item_extract() API 2024-02-28 08:15:17 -05:00
module-file-monitor-api.c core: change the component arguments to be WpSpaJson instead of GVariant 2023-05-25 18:29:58 +03:00
module-log-settings.c log: rename back to wp_log_set_level 2024-01-13 16:33:05 +00:00
module-logind.c Improve monitoring of seat state 2024-05-08 13:58:16 +00:00
module-mixer-api.c m-mixer-api: Fix memory in leak wp_mixer_api_set_volume 2024-09-26 14:12:18 +02:00
module-portal-permissionstore.c m-portal-permissionstore: improve the warnings printed due to remote errors 2024-03-25 13:51:46 +02:00
module-settings.c m-settings: remove all persistent settings if key is null 2024-03-23 09:39:45 +00:00
module-si-audio-adapter.c si-linkables: do not fully reset when the underlying proxy is destroyed 2024-03-12 12:44:32 +02:00
module-si-node.c si-linkables: do not fully reset when the underlying proxy is destroyed 2024-03-12 12:44:32 +02:00
module-si-standard-link.c remove "virtual items" scripts, m-si-audio-virtual and related tests 2024-06-26 15:48:07 +03:00
module-standard-event-source.c m-std-event-source: cancel events when the node associated with the si dies 2024-03-22 15:35:22 +02:00