dat tree BUGFIX memory leak
dat tree BUGFIX memory leak

when lyd_validate() fails on resolve_unres_data()

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