issue #2271: fixed memory leak of CCControlColorPicker
issue #2271: fixed memory leak of WebSocket
issue #2271: fixed memory leak of CCTextureCache::snapshotTextures()
Merge pull request #2840 from minggo/develop

fix some memory leak