yang parser BUGFIX accessing freed memory
yang parser BUGFIX accessing freed memory

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