fix serious memory leak of when rendering mupdf page