Skip to content

Why always crash in xmlFreeDoc(xmlDoc_) #18

@Abnerzj

Description

@Abnerzj
  • (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);
    }

      xmlFreeDoc(xmlDoc_);
    

    }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions