Commit e2dbf4be authored by Moritz Lipp's avatar Moritz Lipp

Use correct free function for search results

parent f78bfb63
......@@ -26,7 +26,7 @@ pdf_page_search_text(zathura_page_t* page, mupdf_page_t* mupdf_page, const char*
mupdf_document_t* mupdf_document = zathura_document_get_data(document);;
girara_list_t* list = girara_list_new2((girara_free_function_t) zathura_link_free);
girara_list_t* list = girara_list_new2(g_free);
if (list == NULL) {
if (error != NULL) {
*error = ZATHURA_ERROR_OUT_OF_MEMORY;
......
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