{"action":"created","issue":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/14174","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/14174/labels{/name}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/14174/comments","events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/14174/events","html_url":"https://github.com/cocos2d/cocos2d-x/pull/14174","id":111903675,"number":14174,"title":"CPPCheck fixes, correct deallocation, array size.","user":{"login":"noshbar","id":1892994,"avatar_url":"https://avatars.githubusercontent.com/u/1892994?v=3","gravatar_id":"","url":"https://api.github.com/users/noshbar","html_url":"https://github.com/noshbar","followers_url":"https://api.github.com/users/noshbar/followers","following_url":"https://api.github.com/users/noshbar/following{/other_user}","gists_url":"https://api.github.com/users/noshbar/gists{/gist_id}","starred_url":"https://api.github.com/users/noshbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noshbar/subscriptions","organizations_url":"https://api.github.com/users/noshbar/orgs","repos_url":"https://api.github.com/users/noshbar/repos","events_url":"https://api.github.com/users/noshbar/events{/privacy}","received_events_url":"https://api.github.com/users/noshbar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-16T20:21:13Z","updated_at":"2015-10-19T02:04:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/14174","html_url":"https://github.com/cocos2d/cocos2d-x/pull/14174","diff_url":"https://github.com/cocos2d/cocos2d-x/pull/14174.diff","patch_url":"https://github.com/cocos2d/cocos2d-x/pull/14174.patch"},"body":"General Fixes:\r\n - changed some delete operations to be deletions of arrays where applicable\r\n - changed some \"free\" operations to \"delete\" where memory was allocated with \"new\"\r\n\r\nCCPUScriptCompiler.cpp:\r\n - added checks to see if temp1 and temp2 are non-null before dereferencing them\r\n\r\nFileServer.cpp:\r\n - changed the size of startFlag to be 13, seeing as the strcpy into it copies a string, \"RuntimeSend:\",\r\n   is already 12 characters long, but strcpy() attempts to copy the NULL terminator too."},"comment":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/comments/149078111","html_url":"https://github.com/cocos2d/cocos2d-x/pull/14174#issuecomment-149078111","issue_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/14174","id":149078111,"user":{"login":"pandamicro","id":632460,"avatar_url":"https://avatars.githubusercontent.com/u/632460?v=3","gravatar_id":"","url":"https://api.github.com/users/pandamicro","html_url":"https://github.com/pandamicro","followers_url":"https://api.github.com/users/pandamicro/followers","following_url":"https://api.github.com/users/pandamicro/following{/other_user}","gists_url":"https://api.github.com/users/pandamicro/gists{/gist_id}","starred_url":"https://api.github.com/users/pandamicro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandamicro/subscriptions","organizations_url":"https://api.github.com/users/pandamicro/orgs","repos_url":"https://api.github.com/users/pandamicro/repos","events_url":"https://api.github.com/users/pandamicro/events{/privacy}","received_events_url":"https://api.github.com/users/pandamicro/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T02:04:58Z","updated_at":"2015-10-19T02:04:58Z","body":"Thanks @noshbar @xiaofeng11 "}}