I found a memory leak when the value of an attribute is accessed. Fix is simple, in function ruby_xml_attr_value in ruby_xml_attr.c, need to call xmlFree:
356,357c356,360 < if (value != NULL) < return(rb_str_new2((const char*)value)); --- > if (value != NULL) { > VALUE retVal = rb_str_new2((const char*)value); > xmlFree(value); > return(retVal); > } I was trying to make a .gem file locally to deploy this patch on my servers, and did not find any .gemspec or build process in svn, where would I find that sort of thing? Thanks, Tom
_______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel