Label memory leak fixes