Merge pull request #1994 from smoak/fix_wireplumber_invalid_pointer

This commit is contained in:
Alex 2023-02-01 08:25:05 +01:00 committed by GitHub
commit 8da5425189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ waybar::modules::Wireplumber::~Wireplumber() {
g_clear_object(&wp_core_); g_clear_object(&wp_core_);
g_clear_object(&mixer_api_); g_clear_object(&mixer_api_);
g_clear_object(&def_nodes_api_); g_clear_object(&def_nodes_api_);
g_free(&default_node_name_); g_free(default_node_name_);
} }
void waybar::modules::Wireplumber::updateNodeName(waybar::modules::Wireplumber* self, uint32_t id) { void waybar::modules::Wireplumber::updateNodeName(waybar::modules::Wireplumber* self, uint32_t id) {