mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-11-04 08:57:29 +01:00 
			
		
		
		
	client: Fix property completion mem leak
This commit is contained in:
		
							parent
							
								
									bb4f4c8159
								
							
						
					
					
						commit
						b30b84373d
					
				@ -175,11 +175,11 @@ char *proxy_property_str_completion(const struct proxy_interface_type *type,
 | 
			
		||||
 | 
			
		||||
		str = proxy_interface_property_tostr(proxy, property_name);
 | 
			
		||||
		if (!str)
 | 
			
		||||
			return NULL;
 | 
			
		||||
			goto done;
 | 
			
		||||
 | 
			
		||||
		return l_strdup(str);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
done:
 | 
			
		||||
	l_queue_destroy(match, NULL);
 | 
			
		||||
	match = NULL;
 | 
			
		||||
	entry = NULL;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user