{"action":"closed","number":391,"pull_request":{"url":"https://api.github.com/repos/geany/geany-plugins/pulls/391","id":61963746,"html_url":"https://github.com/geany/geany-plugins/pull/391","diff_url":"https://github.com/geany/geany-plugins/pull/391.diff","patch_url":"https://github.com/geany/geany-plugins/pull/391.patch","issue_url":"https://api.github.com/repos/geany/geany-plugins/issues/391","number":391,"state":"closed","locked":false,"title":"lineoperations: Fix a memory leak found by cppcheck","user":{"login":"b4n","id":793526,"avatar_url":"https://avatars.githubusercontent.com/u/793526?v=3","gravatar_id":"","url":"https://api.github.com/users/b4n","html_url":"https://github.com/b4n","followers_url":"https://api.github.com/users/b4n/followers","following_url":"https://api.github.com/users/b4n/following{/other_user}","gists_url":"https://api.github.com/users/b4n/gists{/gist_id}","starred_url":"https://api.github.com/users/b4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b4n/subscriptions","organizations_url":"https://api.github.com/users/b4n/orgs","repos_url":"https://api.github.com/users/b4n/repos","events_url":"https://api.github.com/users/b4n/events{/privacy}","received_events_url":"https://api.github.com/users/b4n/received_events","type":"User","site_admin":false},"body":"`new_file` is [assigned again with the return value of `g_strjoinv()`](https://github.com/geany/geany-plugins/pull/391/files#diff-12783b0a2f2a5a415ec6f2505c90e634R315), thus leaking the previous value.","created_at":"2016-03-07T19:05:36Z","updated_at":"2016-03-08T17:41:51Z","closed_at":"2016-03-08T17:41:51Z","merged_at":"2016-03-08T17:41:51Z","merge_commit_sha":"ad59d15a7e2683c6c764d7e514429384b9b53aca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/geany/geany-plugins/pulls/391/commits","review_comments_url":"https://api.github.com/repos/geany/geany-plugins/pulls/391/comments","review_comment_url":"https://api.github.com/repos/geany/geany-plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geany/geany-plugins/issues/391/comments","statuses_url":"https://api.github.com/repos/geany/geany-plugins/statuses/fb53d8cd72868a24da5a0e9e0abbb36febdee53b","head":{"label":"b4n:lineoperations/leak","ref":"lineoperations/leak","sha":"fb53d8cd72868a24da5a0e9e0abbb36febdee53b","user":{"login":"b4n","id":793526,"avatar_url":"https://avatars.githubusercontent.com/u/793526?v=3","gravatar_id":"","url":"https://api.github.com/users/b4n","html_url":"https://github.com/b4n","followers_url":"https://api.github.com/users/b4n/followers","following_url":"https://api.github.com/users/b4n/following{/other_user}","gists_url":"https://api.github.com/users/b4n/gists{/gist_id}","starred_url":"https://api.github.com/users/b4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b4n/subscriptions","organizations_url":"https://api.github.com/users/b4n/orgs","repos_url":"https://api.github.com/users/b4n/repos","events_url":"https://api.github.com/users/b4n/events{/privacy}","received_events_url":"https://api.github.com/users/b4n/received_events","type":"User","site_admin":false},"repo":{"id":3781314,"name":"geany-plugins","full_name":"b4n/geany-plugins","owner":{"login":"b4n","id":793526,"avatar_url":"https://avatars.githubusercontent.com/u/793526?v=3","gravatar_id":"","url":"https://api.github.com/users/b4n","html_url":"https://github.com/b4n","followers_url":"https://api.github.com/users/b4n/followers","following_url":"https://api.github.com/users/b4n/following{/other_user}","gists_url":"https://api.github.com/users/b4n/gists{/gist_id}","starred_url":"https://api.github.com/users/b4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b4n/subscriptions","organizations_url":"https://api.github.com/users/b4n/orgs","repos_url":"https://api.github.com/users/b4n/repos","events_url":"https://api.github.com/users/b4n/events{/privacy}","received_events_url":"https://api.github.com/users/b4n/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/b4n/geany-plugins","description":"The combined Geany Plugins collection","fork":true,"url":"https://api.github.com/repos/b4n/geany-plugins","forks_url":"https://api.github.com/repos/b4n/geany-plugins/forks","keys_url":"https://api.github.com/repos/b4n/geany-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/b4n/geany-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/b4n/geany-plugins/teams","hooks_url":"https://api.github.com/repos/b4n/geany-plugins/hooks","issue_events_url":"https://api.github.com/repos/b4n/geany-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/b4n/geany-plugins/events","assignees_url":"https://api.github.com/repos/b4n/geany-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/b4n/geany-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/b4n/geany-plugins/tags","blobs_url":"https://api.github.com/repos/b4n/geany-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/b4n/geany-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/b4n/geany-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/b4n/geany-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/b4n/geany-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/b4n/geany-plugins/languages","stargazers_url":"https://api.github.com/repos/b4n/geany-plugins/stargazers","contributors_url":"https://api.github.com/repos/b4n/geany-plugins/contributors","subscribers_url":"https://api.github.com/repos/b4n/geany-plugins/subscribers","subscription_url":"https://api.github.com/repos/b4n/geany-plugins/subscription","commits_url":"https://api.github.com/repos/b4n/geany-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/b4n/geany-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/b4n/geany-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/b4n/geany-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/b4n/geany-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/b4n/geany-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/b4n/geany-plugins/merges","archive_url":"https://api.github.com/repos/b4n/geany-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/b4n/geany-plugins/downloads","issues_url":"https://api.github.com/repos/b4n/geany-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/b4n/geany-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/b4n/geany-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/b4n/geany-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/b4n/geany-plugins/labels{/name}","releases_url":"https://api.github.com/repos/b4n/geany-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/b4n/geany-plugins/deployments","created_at":"2012-03-20T23:14:58Z","updated_at":"2015-03-05T22:00:03Z","pushed_at":"2016-03-08T11:21:50Z","git_url":"git://github.com/b4n/geany-plugins.git","ssh_url":"git@github.com:b4n/geany-plugins.git","clone_url":"https://github.com/b4n/geany-plugins.git","svn_url":"https://github.com/b4n/geany-plugins","homepage":"http://plugins.geany.org/","size":17328,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"geany:master","ref":"master","sha":"cee5b59e8f52fa7b2d42c1a5fd9f54fb2c9158dd","user":{"login":"geany","id":1108795,"avatar_url":"https://avatars.githubusercontent.com/u/1108795?v=3","gravatar_id":"","url":"https://api.github.com/users/geany","html_url":"https://github.com/geany","followers_url":"https://api.github.com/users/geany/followers","following_url":"https://api.github.com/users/geany/following{/other_user}","gists_url":"https://api.github.com/users/geany/gists{/gist_id}","starred_url":"https://api.github.com/users/geany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geany/subscriptions","organizations_url":"https://api.github.com/users/geany/orgs","repos_url":"https://api.github.com/users/geany/repos","events_url":"https://api.github.com/users/geany/events{/privacy}","received_events_url":"https://api.github.com/users/geany/received_events","type":"Organization","site_admin":false},"repo":{"id":2597648,"name":"geany-plugins","full_name":"geany/geany-plugins","owner":{"login":"geany","id":1108795,"avatar_url":"https://avatars.githubusercontent.com/u/1108795?v=3","gravatar_id":"","url":"https://api.github.com/users/geany","html_url":"https://github.com/geany","followers_url":"https://api.github.com/users/geany/followers","following_url":"https://api.github.com/users/geany/following{/other_user}","gists_url":"https://api.github.com/users/geany/gists{/gist_id}","starred_url":"https://api.github.com/users/geany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geany/subscriptions","organizations_url":"https://api.github.com/users/geany/orgs","repos_url":"https://api.github.com/users/geany/repos","events_url":"https://api.github.com/users/geany/events{/privacy}","received_events_url":"https://api.github.com/users/geany/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geany/geany-plugins","description":"The combined Geany Plugins collection","fork":false,"url":"https://api.github.com/repos/geany/geany-plugins","forks_url":"https://api.github.com/repos/geany/geany-plugins/forks","keys_url":"https://api.github.com/repos/geany/geany-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geany/geany-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geany/geany-plugins/teams","hooks_url":"https://api.github.com/repos/geany/geany-plugins/hooks","issue_events_url":"https://api.github.com/repos/geany/geany-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/geany/geany-plugins/events","assignees_url":"https://api.github.com/repos/geany/geany-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/geany/geany-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/geany/geany-plugins/tags","blobs_url":"https://api.github.com/repos/geany/geany-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geany/geany-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geany/geany-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/geany/geany-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geany/geany-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/geany/geany-plugins/languages","stargazers_url":"https://api.github.com/repos/geany/geany-plugins/stargazers","contributors_url":"https://api.github.com/repos/geany/geany-plugins/contributors","subscribers_url":"https://api.github.com/repos/geany/geany-plugins/subscribers","subscription_url":"https://api.github.com/repos/geany/geany-plugins/subscription","commits_url":"https://api.github.com/repos/geany/geany-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/geany/geany-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/geany/geany-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/geany/geany-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/geany/geany-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/geany/geany-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geany/geany-plugins/merges","archive_url":"https://api.github.com/repos/geany/geany-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geany/geany-plugins/downloads","issues_url":"https://api.github.com/repos/geany/geany-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/geany/geany-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/geany/geany-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/geany/geany-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geany/geany-plugins/labels{/name}","releases_url":"https://api.github.com/repos/geany/geany-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/geany/geany-plugins/deployments","created_at":"2011-10-18T08:19:26Z","updated_at":"2016-03-06T16:40:43Z","pushed_at":"2016-03-08T17:41:51Z","git_url":"git://github.com/geany/geany-plugins.git","ssh_url":"git@github.com:geany/geany-plugins.git","clone_url":"https://github.com/geany/geany-plugins.git","svn_url":"https://github.com/geany/geany-plugins","homepage":"http://plugins.geany.org/","size":18714,"stargazers_count":217,"watchers_count":217,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":137,"mirror_url":null,"open_issues_count":81,"forks":137,"open_issues":81,"watchers":217,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/geany/geany-plugins/pulls/391"},"html":{"href":"https://github.com/geany/geany-plugins/pull/391"},"issue":{"href":"https://api.github.com/repos/geany/geany-plugins/issues/391"},"comments":{"href":"https://api.github.com/repos/geany/geany-plugins/issues/391/comments"},"review_comments":{"href":"https://api.github.com/repos/geany/geany-plugins/pulls/391/comments"},"review_comment":{"href":"https://api.github.com/repos/geany/geany-plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geany/geany-plugins/pulls/391/commits"},"statuses":{"href":"https://api.github.com/repos/geany/geany-plugins/statuses/fb53d8cd72868a24da5a0e9e0abbb36febdee53b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"frlan","id":1010248,"avatar_url":"https://avatars.githubusercontent.com/u/1010248?v=3","gravatar_id":"","url":"https://api.github.com/users/frlan","html_url":"https://github.com/frlan","followers_url":"https://api.github.com/users/frlan/followers","following_url":"https://api.github.com/users/frlan/following{/other_user}","gists_url":"https://api.github.com/users/frlan/gists{/gist_id}","starred_url":"https://api.github.com/users/frlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frlan/subscriptions","organizations_url":"https://api.github.com/users/frlan/orgs","repos_url":"https://api.github.com/users/frlan/repos","events_url":"https://api.github.com/users/frlan/events{/privacy}","received_events_url":"https://api.github.com/users/frlan/received_events","type":"User","site_admin":false},"comments":3,"review_comments":2,"commits":1,"additions":0,"deletions":4,"changed_files":1}}