Skip to content

Why always crash in xmlFreeDoc(xmlDoc_) #18

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_);
    

    }
    }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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