FPDFPageObj_Destroy method
Destroy |page_object| by releasing its resources. |page_object| must have been created by FPDFPageObj_CreateNew{Path|Rect}() or FPDFPageObj_New{Text|Image}Obj(). This function must be called on newly-created objects if they are not added to a page through FPDFPage_InsertObject() or to an annotation through FPDFAnnot_AppendObject().
page_object - handle to a page object.
Implementation
void FPDFPageObj_Destroy(FPDF_PAGEOBJECT page_object) {
return _FPDFPageObj_Destroy(page_object);
}