{"action":"opened","issue":{"url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/67","labels_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/67/comments","events_url":"https://api.github.com/repos/acquaman/AcquamanDataServer/issues/67/events","html_url":"https://github.com/acquaman/AcquamanDataServer/issues/67","id":104125383,"number":67,"title":"AMDS: possible memory leak fo rthe data flatten feature","user":{"login":"XuetaoLiu-CLS","id":8292610,"avatar_url":"https://avatars.githubusercontent.com/u/8292610?v=3","gravatar_id":"","url":"https://api.github.com/users/XuetaoLiu-CLS","html_url":"https://github.com/XuetaoLiu-CLS","followers_url":"https://api.github.com/users/XuetaoLiu-CLS/followers","following_url":"https://api.github.com/users/XuetaoLiu-CLS/following{/other_user}","gists_url":"https://api.github.com/users/XuetaoLiu-CLS/gists{/gist_id}","starred_url":"https://api.github.com/users/XuetaoLiu-CLS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XuetaoLiu-CLS/subscriptions","organizations_url":"https://api.github.com/users/XuetaoLiu-CLS/orgs","repos_url":"https://api.github.com/users/XuetaoLiu-CLS/repos","events_url":"https://api.github.com/users/XuetaoLiu-CLS/events{/privacy}","received_events_url":"https://api.github.com/users/XuetaoLiu-CLS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-31T20:11:22Z","updated_at":"2015-08-31T20:11:22Z","closed_at":null,"body":"in function `void AMDSBufferGroup::flattenData(QList<AMDSDataHolder *> *dataArray)`, we did the flatten feature.\r\n\r\nThe add/div function will instantiate new instance of AMDSDataHolder, which will NOT be released, since the `dataArray` will be finally passed to `AMDSClientDataRequest` and sent out via socket. But when AMDSClientDataRequest sending the data, it won't release the memory since sometime the data is from the original set of dataHolder which should NOT be released by the ClientDataRequest.\r\n\r\nA solution needed to handle this."}}