mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 01:33:47 +01:00
Call parent's finalize
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
af40bbabad
commit
207f57b33b
4
render.c
4
render.c
@ -155,7 +155,7 @@ renderer_finalize(GObject* object)
|
||||
private_t* priv = GET_PRIVATE(renderer);
|
||||
|
||||
zathura_renderer_stop(renderer);
|
||||
if (priv->pool) {
|
||||
if (priv->pool != NULL) {
|
||||
g_thread_pool_free(priv->pool, TRUE, TRUE);
|
||||
}
|
||||
mutex_free(&(priv->mutex));
|
||||
@ -286,6 +286,8 @@ render_request_finalize(GObject* object)
|
||||
}
|
||||
girara_list_free(priv->active_jobs);
|
||||
mutex_free(&priv->jobs_mutex);
|
||||
|
||||
GOBJECT_CLASS(render_request_parent_class)->finalize(object);
|
||||
}
|
||||
|
||||
/* renderer methods */
|
||||
|
Loading…
Reference in New Issue
Block a user