mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-01 07:36:00 +01:00
Merge branch 'develop' of pwmt.org:zathura into develop
This commit is contained in:
commit
4e6d73a912
2 changed files with 4 additions and 4 deletions
|
@ -19,8 +19,6 @@ bool
|
|||
sc_abort(girara_session_t* session, girara_argument_t* UNUSED(argument),
|
||||
girara_event_t* UNUSED(event), unsigned int UNUSED(t))
|
||||
{
|
||||
girara_info("in sc_abort");
|
||||
|
||||
g_return_val_if_fail(session != NULL, false);
|
||||
g_return_val_if_fail(session->global.data != NULL, false);
|
||||
zathura_t* zathura = session->global.data;
|
||||
|
|
|
@ -334,8 +334,10 @@ prepare_document_open_from_stdin(zathura_t* zathura)
|
|||
gint handle = g_file_open_tmp("zathura.stdin.XXXXXX", &file, &error);
|
||||
if (handle == -1)
|
||||
{
|
||||
girara_error("Can not create temporary file: %s", error->message);
|
||||
g_error_free(error);
|
||||
if (error != NULL) {
|
||||
girara_error("Can not create temporary file: %s", error->message);
|
||||
g_error_free(error);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue