diff --git a/exec/totemconfig.c b/exec/totemconfig.c index 5bd59495..651d5535 100644 --- a/exec/totemconfig.c +++ b/exec/totemconfig.c @@ -614,6 +614,7 @@ static int read_keyfile ( res * 8, key_location); goto parse_error; } + close (fd); return 0; parse_error: