(void)dealloc {
if (xmlDoc != NULL) {
// release the strings cache
//
// since it's a CF object, were anyone to use this in a GC environment,
// this would need to be released in a finalize method, too
if (xmlDoc->private != NULL) {
CFRelease(xmlDoc->_private);
}
(void)dealloc { if (xmlDoc != NULL) { // release the strings cache // // since it's a CF object, were anyone to use this in a GC environment, // this would need to be released in a finalize method, too if (xmlDoc->private != NULL) { CFRelease(xmlDoc->_private); }
} }