//failed to delete buffer. No buffer to delete in PDF