mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Close file to no leak file descriptor memory. Found by Coverity.
This commit is contained in:
		@@ -1355,6 +1355,7 @@ parse_include(void)
 | 
				
			|||||||
			/* if the command was "include_next" we have to disregard the first hit */
 | 
								/* if the command was "include_next" we have to disregard the first hit */
 | 
				
			||||||
			if (yyin && include_next)
 | 
								if (yyin && include_next)
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
 | 
									fclose (yyin);
 | 
				
			||||||
				yyin = NULL;
 | 
									yyin = NULL;
 | 
				
			||||||
				include_next = false;
 | 
									include_next = false;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user