Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
63e477fd
Commit
63e477fd
authored
Oct 11, 2015
by
Sebastian Ramacher
Browse files
Fix mutex clean up
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
083520ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
zathura/render.c
View file @
63e477fd
...
...
@@ -160,7 +160,7 @@ renderer_finalize(GObject* object)
if
(
priv
->
pool
!=
NULL
)
{
g_thread_pool_free
(
priv
->
pool
,
TRUE
,
TRUE
);
}
g_mutex_
free
(
&
(
priv
->
mutex
));
g_mutex_
clear
(
&
(
priv
->
mutex
));
free
(
priv
->
page_cache
.
cache
);
girara_list_free
(
priv
->
requests
);
...
...
@@ -298,7 +298,7 @@ render_request_finalize(GObject* object)
girara_error
(
"This should not happen!"
);
}
girara_list_free
(
priv
->
active_jobs
);
g_mutex_
free
(
&
priv
->
jobs_mutex
);
g_mutex_
clear
(
&
priv
->
jobs_mutex
);
G_OBJECT_CLASS
(
zathura_render_request_parent_class
)
->
finalize
(
object
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment