My 06 Mitsubishi galant stalls at lights (only after i drjve it for a while)?

I have p0172 and p0175, both running rich codes. Earlier i had p0441 and then p0445 (purge codes). Could a failed purge valve cause my issues of stalling when warm (if i keep my foot on gas it does not stall). Where is the purge valve located on this car. 2.4l engine.
0