mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	session: Don't close a null dir in read_environment_dir
Closes: #1615 [via git-merge-pr]
This commit is contained in:
		
							parent
							
								
									3460d5be98
								
							
						
					
					
						commit
						bfa3a32ae3
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -140,8 +140,9 @@ read_environment_dir(const char *path_prefix)
 | 
			
		|||
		free(env_file_path);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
env_dir_cleanup:
 | 
			
		||||
	closedir(envdir);
 | 
			
		||||
 | 
			
		||||
env_dir_cleanup:
 | 
			
		||||
	free(path);
 | 
			
		||||
	return success;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue