mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	test-client: don't unref format in on_state_notify
possible_formats is transfer full for pinos_stream_connect().
This commit is contained in:
		
							parent
							
								
									9e87ef0a67
								
							
						
					
					
						commit
						5ae6da69e6
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -144,7 +144,6 @@ on_state_notify (GObject    *gobject,
 | 
			
		|||
 | 
			
		||||
      format = g_bytes_new_static (ANY_CAPS, strlen (ANY_CAPS) + 1);
 | 
			
		||||
      pinos_stream_connect (stream, PINOS_DIRECTION_OUTPUT, NULL, 0, format);
 | 
			
		||||
      g_bytes_unref (format);
 | 
			
		||||
      break;
 | 
			
		||||
    }
 | 
			
		||||
    default:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue