--- /boot/cairo/test/pdf2png.c 2016-04-20 14:47:06.919599228 -0700 +++ pdf2png.c 2018-08-12 12:44:41.817808999 -0700 @@ -67,6 +69,7 @@ FAIL (error->message); document = poppler_document_new_from_file (uri, NULL, &error); + g_free (uri); if (document == NULL) FAIL (error->message);