Fixed bug #64544 (Valgrind warnings after using putenv)

The frozen_envion is needed, since if an item in environ is updated
(like the test script HOME one), invalid free still shows up
Merge branch 'PHP-5.5'