They're both fine. The second one could suggest that you're going to sneak into her room and mount it without her knowledge.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Anonymous "I am going to buy Sally a poster for her wall."In this phrase you are buying a poster for a person called Sally to put on her wall.
Anonymous"I am going to buy a poster for Sally's wall."In this phrase you are going to buy a poster for a wall that belongs to Sally.