Initialize x->attr in yxml_init() Shouldn't really matter to any application that respected the documentation, but it's better than leaving it uninitialized.