cocos2d/cocos2d-x — pull request #8921 by TimothyZhang (2014-10-24 10:37:23+00:00)
Title: release old program with the same key before adding glprogram

this fixes a memory leak when adding a program twice or more times. (eg. we might add a custom program at game start, and later downloaded a newer version then add it again).