mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Zero the fd list since we do a memcmp on it later.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@818 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									cd93661dcb
								
							
						
					
					
						commit
						53930f4455
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -122,7 +122,7 @@ static void defer_cb(pa_mainloop_api*a, PA_GCC_UNUSED pa_defer_event* e, void *u
 | 
			
		|||
            pa_xfree(fdl->fds);
 | 
			
		||||
        if (fdl->work_fds)
 | 
			
		||||
            pa_xfree(fdl->work_fds);
 | 
			
		||||
        fdl->fds = pa_xmalloc(sizeof(struct pollfd) * num_fds);
 | 
			
		||||
        fdl->fds = pa_xmalloc0(sizeof(struct pollfd) * num_fds);
 | 
			
		||||
        fdl->work_fds = pa_xmalloc(sizeof(struct pollfd) * num_fds);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue