Skip to content

Fix memory leak when selecting text

Marco Eulalio requested to merge marcoe/zathura:fix-memleak into develop

zathura_page_get_selection was being called twice and we were losing the first allocated pointer.

I also added a missing g_mutex_unlock for the case when malloc fails in zathura_render_request.

Merge request reports