fix memory leak on str in neth