diff --git a/src/modules/module-protocol-native.c b/src/modules/module-protocol-native.c index 3433a67b7..4b2c311ae 100644 --- a/src/modules/module-protocol-native.c +++ b/src/modules/module-protocol-native.c @@ -302,6 +302,7 @@ static void client_free(void *data) struct client_data *this = data; struct pw_impl_client *client = this->client; + pw_log_debug(NAME" %p: free", this); spa_list_remove(&this->protocol_link); if (this->source) diff --git a/src/modules/module-protocol-native/connection.c b/src/modules/module-protocol-native/connection.c index b704e4b0a..251fdda03 100644 --- a/src/modules/module-protocol-native/connection.c +++ b/src/modules/module-protocol-native/connection.c @@ -239,7 +239,7 @@ struct pw_protocol_native_connection *pw_protocol_native_connection_new(struct p this = &impl->this; - pw_log_debug("connection %p: new", this); + pw_log_debug("connection %p: new fd:%d", this, fd); this->fd = fd; spa_hook_list_init(&this->listener_list); @@ -266,6 +266,7 @@ no_mem: int pw_protocol_native_connection_set_fd(struct pw_protocol_native_connection *conn, int fd) { + pw_log_debug("connection %p: fd:%d", conn, fd); conn->fd = fd; return 0; }