mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-31 14:44:55 +01:00
close file handle
This commit is contained in:
parent
0bc03914f6
commit
7a15100dbc
1 changed files with 1 additions and 1 deletions
|
@ -1499,13 +1499,13 @@ open_stdin(gchar* password)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
close(handle);
|
||||||
|
|
||||||
if (count != 0)
|
if (count != 0)
|
||||||
{
|
{
|
||||||
gchar* message = g_strdup_printf("Can not read from stdin.");
|
gchar* message = g_strdup_printf("Can not read from stdin.");
|
||||||
notify(ERROR, message);
|
notify(ERROR, message);
|
||||||
g_free(message);
|
g_free(message);
|
||||||
close(handle);
|
|
||||||
g_unlink(file);
|
g_unlink(file);
|
||||||
g_free(file);
|
g_free(file);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue