CGPDFPageRef page = CGPDFDocumentGetPage(pdf, pageNumber);
if (count == 0) { // printf("`%s' needs at least one page!", filename); return NULL; }
document = CGPDFDocumentCreateWithURL (url)
These code of line give potential memory leak in this object.
Please give me a hint. Thanx in advanced.