Skip to content

Commit b0fd435

Browse files
authored
Merge pull request #205 from jcsahnwaldt/patch-1
ruby_xml_relaxng.c: rb_undef_alloc_func(cXMLRelaxNG);
2 parents 699677e + 0b9a5b7 commit b0fd435

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ext/libxml/ruby_xml_relaxng.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ static VALUE rxml_relaxng_init_from_string(VALUE self, VALUE relaxng_str)
103103
void rxml_init_relaxng(void)
104104
{
105105
cXMLRelaxNG = rb_define_class_under(mXML, "RelaxNG", rb_cObject);
106+
rb_undef_alloc_func(cXMLRelaxNG);
106107
rb_define_singleton_method(cXMLRelaxNG, "new", rxml_relaxng_init_from_uri, 1);
107108
rb_define_singleton_method(cXMLRelaxNG, "from_string",
108109
rxml_relaxng_init_from_string, 1);

0 commit comments

Comments
 (0)