Sounds about right, though Communist China has always been egalitarian in its own way. The Communist motto, "women hold up half the sky" (Exhorting women to join the work force and be treated equally) would've seemed revolutionary in Confucian context, which is where the preference for sons comes from.
Also, Mao condemned the tradition of footbinding, which had effectively hobbled middle and upper class women from early childhood onward, in the name of beauty. Of course this led to the Red Guards ostracizing, abusing and sometimes killing elderly women with bound feet, but from what I've read, I don't think anyone was treated well in China at that time