mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	make sure we don't leak userdata struct
This commit is contained in:
		
							parent
							
								
									32f63f2a61
								
							
						
					
					
						commit
						5916b5bc2d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -158,7 +158,7 @@ int pa__init(pa_module *m) {
 | 
			
		|||
 | 
			
		||||
    pa_assert(m);
 | 
			
		||||
 | 
			
		||||
    u = pa_xnew0(struct userdata, 1);
 | 
			
		||||
    m->userdata = u = pa_xnew0(struct userdata, 1);
 | 
			
		||||
    u->core = m->core;
 | 
			
		||||
 | 
			
		||||
    if (!(u->sink_filename = pa_state_path(DEFAULT_SINK_FILE)))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue