conf: Fix CID 1130973 - resource leak.
Found by coverity.
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit a244c1d4aa)
			
			
This commit is contained in:
		
							parent
							
								
									78ff8e0f07
								
							
						
					
					
						commit
						51d4f11448
					
				@ -903,6 +903,7 @@ static HANDLE_FUNC (handle_listen)
 | 
			
		||||
               if (conf->listen_addrs == NULL) {
 | 
			
		||||
                       log_message(LOG_WARNING, "Could not create a list "
 | 
			
		||||
                                   "of listen addresses.");
 | 
			
		||||
                       safefree(arg);
 | 
			
		||||
                       return -1;
 | 
			
		||||
               }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user