xml parser BUGFIX parsing attributes
xml parser BUGFIX parsing attributes

When parsing failed, there were some non-parsed attrbutes in elements
supposed to be fully parsed when freeing. This led to segfault.

lukasmacko/libyang,PavolVican/libyang,lukasmacko/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang