|  | @@ -302,6 +302,7 @@ load_identity_key(void)
 | 
	
		
			
				|  |  |      if (!identity_key) {
 | 
	
		
			
				|  |  |        log_err(LD_GENERAL, "Couldn't read identity key from %s",
 | 
	
		
			
				|  |  |                identity_key_file);
 | 
	
		
			
				|  |  | +      fclose(f);
 | 
	
		
			
				|  |  |        return 1;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      fclose(f);
 | 
	
	
		
			
				|  | @@ -322,6 +323,7 @@ load_signing_key(void)
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |    if (!(signing_key = PEM_read_PrivateKey(f, NULL, NULL, NULL))) {
 | 
	
		
			
				|  |  |      log_err(LD_GENERAL, "Couldn't read siging key from %s", signing_key_file);
 | 
	
		
			
				|  |  | +    fclose(f);
 | 
	
		
			
				|  |  |      return 1;
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |    fclose(f);
 |