Fix global variables leak
Fix global variables leak

Famous/core,Faiz7412/famous,holmesal/famous-global-build,wgester/famous,Famous/famous,SeanOceanHu/famous,Faiz7412/famous,chinakids/famous,trusktr/famous,Lkraljevic/famous,gdi2290/famous,Offirmo/famous,Famous/famous,FamousArchives/core,Bizboard/famous,ziteboard/famous,SuPenguin/famous,ziteboard/famous,dcsan/core