I am using the following method fro pdf manipulation
CGPDFDictionaryRef pageDictionary = CGPDFPageGetDictionary(pPage);
CGPDFArrayRef outputArray;
if(!CGPDFDictionaryGetArray(pageDictionary, "Annots", &outputArray)) {
}
On analyzing using xcode i am getting memory leak for outputArrAY. How can i release outputArray which is a CGPDFArrayRef.
Also how can i release tempStr in the following method in arc :
NSString *tempStr = (__bridge NSString *)CGPDFStringCopyTextString(objectString);