mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	module-zeroconf: only free impl when not NULL
This commit is contained in:
		
							parent
							
								
									4be14c24f5
								
							
						
					
					
						commit
						9229467f20
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -512,6 +512,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
error_errno:
 | 
					error_errno:
 | 
				
			||||||
	res = -errno;
 | 
						res = -errno;
 | 
				
			||||||
 | 
						if (impl)
 | 
				
			||||||
		impl_free(impl);
 | 
							impl_free(impl);
 | 
				
			||||||
	return res;
 | 
						return res;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue