Skip to content

Commit 537083d

Browse files
committed
ruby_xml_writer.c: rb_undef_alloc_func(cXMLWriter);
1 parent 3d08587 commit 537083d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ext/libxml/ruby_xml_writer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,6 +1065,7 @@ void rxml_init_writer(void)
10651065
sStandalone = ID2SYM(rb_intern("standalone"));
10661066

10671067
cXMLWriter = rb_define_class_under(mXML, "Writer", rb_cObject);
1068+
rb_undef_alloc_func(cXMLWriter);
10681069

10691070
#ifdef LIBXML_WRITER_ENABLED
10701071
rb_define_singleton_method(cXMLWriter, "io", rxml_writer_io, 1);

0 commit comments

Comments
 (0)