Commit 207f57b3 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Call parent's finalize

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent af40bbab
......@@ -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 */
......
Markdown is supported
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