Commit d56b79b3 authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Little fix in sc_toggle_index

parent 1fbe59aa
...@@ -285,7 +285,7 @@ sc_toggle_index(girara_session_t* session, girara_argument_t* argument, unsigned ...@@ -285,7 +285,7 @@ sc_toggle_index(girara_session_t* session, girara_argument_t* argument, unsigned
error_free: error_free:
if (Zathura.UI.index != NULL) { if (Zathura.UI.index != NULL) {
g_object_unref(Zathura.UI.index); g_object_ref_sink(Zathura.UI.index);
Zathura.UI.index = NULL; Zathura.UI.index = NULL;
} }
......
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