mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-22 08:56:59 -05:00
fix some leaks
Fix some leaks Remove some unused fields Install a loop so that plugins can use it Start on adding format introspection
This commit is contained in:
parent
4b55d7c4da
commit
8b84d8fde6
13 changed files with 124 additions and 103 deletions
|
|
@ -1216,10 +1216,6 @@ pinos_connection_parse_message (PinosConnection *conn,
|
|||
connection_parse_port_update (conn, message);
|
||||
break;
|
||||
|
||||
case PINOS_MESSAGE_PORT_STATUS_CHANGE:
|
||||
pinos_log_warn ("implement iter of %d", conn->in.type);
|
||||
break;
|
||||
|
||||
case PINOS_MESSAGE_NODE_STATE_CHANGE:
|
||||
if (conn->in.size < sizeof (PinosMessageNodeStateChange))
|
||||
return false;
|
||||
|
|
@ -1410,10 +1406,6 @@ pinos_connection_add_message (PinosConnection *conn,
|
|||
connection_add_port_update (conn, dest_id, message);
|
||||
break;
|
||||
|
||||
case PINOS_MESSAGE_PORT_STATUS_CHANGE:
|
||||
p = connection_add_message (conn, dest_id, type, 0);
|
||||
break;
|
||||
|
||||
case PINOS_MESSAGE_NODE_STATE_CHANGE:
|
||||
p = connection_add_message (conn, dest_id, type, sizeof (PinosMessageNodeStateChange));
|
||||
memcpy (p, message, sizeof (PinosMessageNodeStateChange));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue