It's almost always just a normal part of their development, and their legs will normally straighten by the age of 6 or 7. Slight knock knees can continue into adulthood, but this also isn't usually anything to worry about unless it causes other problems.