mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	device-manager: Free a hook slot to prevent segv on unload
This commit is contained in:
		
							parent
							
								
									b3e4152916
								
							
						
					
					
						commit
						22c0dcbc08
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -1576,6 +1576,9 @@ void pa__done(pa_module*m) {
 | 
				
			||||||
    if (u->source_unlink_hook_slot)
 | 
					    if (u->source_unlink_hook_slot)
 | 
				
			||||||
        pa_hook_slot_free(u->source_unlink_hook_slot);
 | 
					        pa_hook_slot_free(u->source_unlink_hook_slot);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (u->connection_unlink_hook_slot)
 | 
				
			||||||
 | 
					        pa_hook_slot_free(u->connection_unlink_hook_slot);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (u->save_time_event)
 | 
					    if (u->save_time_event)
 | 
				
			||||||
        u->core->mainloop->time_free(u->save_time_event);
 | 
					        u->core->mainloop->time_free(u->save_time_event);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue