Fixed memory leak in lvector