Wow! How sad but how really savvy of Harry to manage to get out of the situation with as little damage as possible!
My evil twin (Oh, hell I may as well admit it--I) sniggered at how he arranged the situation so that basically, Ginny got the child, his name, and a house (probably the things she wanted the least). She won't get his money, she won't get any more sex, she won't get to be the socialite (because really, what society doyenne would want her without Harry?), and she most certainly won't get him!