Every triathlete spends time in the water performing requisite drills and workouts to help improve their freestyle mechanics. However, most of these athletes are not spending enough time training out of the water for swimming specifically.
Your time in the water provides the repetition necessary to create new movement patterns in your stroke, but doing some particular "dryland" work will pay dividends on your training time by targeting weak areas and reinforcing each element of your stroke.