mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-10-29 05:40:23 -04:00 
			
		
		
		
	udev: properly initialize userdata to 0
This commit is contained in:
		
							parent
							
								
									3a118f2a03
								
							
						
					
					
						commit
						71ce195d3b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -340,7 +340,7 @@ int pa__init(pa_module *m) { | ||||||
|         goto fail; |         goto fail; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     m->userdata = u = pa_xnew(struct userdata, 1); |     m->userdata = u = pa_xnew0(struct userdata, 1); | ||||||
|     u->core = m->core; |     u->core = m->core; | ||||||
|     u->devices = pa_hashmap_new(pa_idxset_string_hash_func, pa_idxset_string_compare_func); |     u->devices = pa_hashmap_new(pa_idxset_string_hash_func, pa_idxset_string_compare_func); | ||||||
|     u->use_tsched = TRUE; |     u->use_tsched = TRUE; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lennart Poettering
						Lennart Poettering