{"action":"opened","issue":{"url":"https://api.github.com/repos/bwalex/tc-play/issues/67","labels_url":"https://api.github.com/repos/bwalex/tc-play/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/bwalex/tc-play/issues/67/comments","events_url":"https://api.github.com/repos/bwalex/tc-play/issues/67/events","html_url":"https://github.com/bwalex/tc-play/issues/67","id":53635146,"number":67,"title":"Some memory issues","user":{"login":"topin27","id":1256394,"avatar_url":"https://avatars.githubusercontent.com/u/1256394?v=3","gravatar_id":"","url":"https://api.github.com/users/topin27","html_url":"https://github.com/topin27","followers_url":"https://api.github.com/users/topin27/followers","following_url":"https://api.github.com/users/topin27/following{/other_user}","gists_url":"https://api.github.com/users/topin27/gists{/gist_id}","starred_url":"https://api.github.com/users/topin27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topin27/subscriptions","organizations_url":"https://api.github.com/users/topin27/orgs","repos_url":"https://api.github.com/users/topin27/repos","events_url":"https://api.github.com/users/topin27/events{/privacy}","received_events_url":"https://api.github.com/users/topin27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-07T14:06:07Z","updated_at":"2015-01-07T14:06:07Z","closed_at":null,"body":"1. Maybe the return value of dm_info_map() should not be freed by free_info()?\r\n=====\r\ntcplay.c:1593: The return value of check_cipher_chain() is a pointer which is point to the static global variable \"tc_cipher_chains[i]\", so use free_info() to release the return value of dm_info_map() will cause the tc_cipher_chains' element be freed. Maybe that's a bug?\r\n\r\n2. tcplay.c:1537: dm_table is not be freed if no error is occurred.\r\n=====\r\n\r\n3. In tcplay.c, the static global variable tc_cipher_chains is never be released.\r\n====="}}