Commit 7a15100d authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

close file handle

parent 0bc03914
......@@ -1499,13 +1499,13 @@ open_stdin(gchar* password)
return FALSE;
}
}
close(handle);
if (count != 0)
{
gchar* message = g_strdup_printf("Can not read from stdin.");
notify(ERROR, message);
g_free(message);
close(handle);
g_unlink(file);
g_free(file);
return FALSE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment