mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	pa_xnew cannot fail -- that's what the x is in the name
This commit is contained in:
		
							parent
							
								
									946d07211b
								
							
						
					
					
						commit
						c8abe64040
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -821,9 +821,7 @@ int pa__init(pa_module *m) {
 | 
			
		|||
        goto fail;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (!(u = pa_xnew0(struct userdata, 1)))
 | 
			
		||||
        goto fail;
 | 
			
		||||
 | 
			
		||||
    u = pa_xnew0(struct userdata, 1);
 | 
			
		||||
    u->sample_counter_lock = pa_mutex_new(FALSE, FALSE);
 | 
			
		||||
    u->written_bytes_lock = pa_mutex_new(FALSE, FALSE);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue