{"action":"created","comment":{"url":"https://api.github.com/repos/lhc70000/iina/pulls/comments/127106959","pull_request_review_id":49656908,"id":127106959,"diff_hunk":"@@ -45,9 +46,11 @@ class AutoFileMatcher {\n \n     // group by extension\n     for file in files {\n-      let fileInfo = FileInfo(file)\n-      if let mediaType = Utility.mediaType(forExtension: fileInfo.ext) {\n-        filesGroupedByMediaType[mediaType]!.append(fileInfo)\n+      autoreleasepool{","path":"iina/AutoFileMatcher.swift","position":17,"original_position":17,"commit_id":"7435493865b4bdc6636b069187f2c9c35548dd39","original_commit_id":"7435493865b4bdc6636b069187f2c9c35548dd39","user":{"login":"saagarjha","id":13786931,"avatar_url":"https://avatars2.githubusercontent.com/u/13786931?v=3","gravatar_id":"","url":"https://api.github.com/users/saagarjha","html_url":"https://github.com/saagarjha","followers_url":"https://api.github.com/users/saagarjha/followers","following_url":"https://api.github.com/users/saagarjha/following{/other_user}","gists_url":"https://api.github.com/users/saagarjha/gists{/gist_id}","starred_url":"https://api.github.com/users/saagarjha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saagarjha/subscriptions","organizations_url":"https://api.github.com/users/saagarjha/orgs","repos_url":"https://api.github.com/users/saagarjha/repos","events_url":"https://api.github.com/users/saagarjha/events{/privacy}","received_events_url":"https://api.github.com/users/saagarjha/received_events","type":"User","site_admin":false},"body":"Oops, I had the wrong `FileInfo`. However, my point still stands–`FileInfo` should not have to be `autorelease`d.","created_at":"2017-07-13T00:52:42Z","updated_at":"2017-07-13T00:52:42Z","html_url":"https://github.com/lhc70000/iina/pull/823#discussion_r127106959","pull_request_url":"https://api.github.com/repos/lhc70000/iina/pulls/823","_links":{"self":{"href":"https://api.github.com/repos/lhc70000/iina/pulls/comments/127106959"},"html":{"href":"https://github.com/lhc70000/iina/pull/823#discussion_r127106959"},"pull_request":{"href":"https://api.github.com/repos/lhc70000/iina/pulls/823"}}},"pull_request":{"url":"https://api.github.com/repos/lhc70000/iina/pulls/823","id":129946450,"html_url":"https://github.com/lhc70000/iina/pull/823","diff_url":"https://github.com/lhc70000/iina/pull/823.diff","patch_url":"https://github.com/lhc70000/iina/pull/823.patch","issue_url":"https://api.github.com/repos/lhc70000/iina/issues/823","number":823,"state":"open","locked":false,"title":"Fixed some memory leaking","user":{"login":"skyline75489","id":4710575,"avatar_url":"https://avatars3.githubusercontent.com/u/4710575?v=3","gravatar_id":"","url":"https://api.github.com/users/skyline75489","html_url":"https://github.com/skyline75489","followers_url":"https://api.github.com/users/skyline75489/followers","following_url":"https://api.github.com/users/skyline75489/following{/other_user}","gists_url":"https://api.github.com/users/skyline75489/gists{/gist_id}","starred_url":"https://api.github.com/users/skyline75489/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skyline75489/subscriptions","organizations_url":"https://api.github.com/users/skyline75489/orgs","repos_url":"https://api.github.com/users/skyline75489/repos","events_url":"https://api.github.com/users/skyline75489/events{/privacy}","received_events_url":"https://api.github.com/users/skyline75489/received_events","type":"User","site_admin":false},"body":"- [ ] This change has been discussed with the author.\r\n- [X] It implements / fixes issue - general memory issues.\r\n\r\n---\r\n\r\n**Description:**\r\n","created_at":"2017-07-11T16:04:36Z","updated_at":"2017-07-13T00:52:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42a7924880a61083b6de8706e60e524a5b9b10d9","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/lhc70000/iina/pulls/823/commits","review_comments_url":"https://api.github.com/repos/lhc70000/iina/pulls/823/comments","review_comment_url":"https://api.github.com/repos/lhc70000/iina/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lhc70000/iina/issues/823/comments","statuses_url":"https://api.github.com/repos/lhc70000/iina/statuses/7435493865b4bdc6636b069187f2c9c35548dd39","head":{"label":"skyline75489:fix/memory-leak","ref":"fix/memory-leak","sha":"7435493865b4bdc6636b069187f2c9c35548dd39","user":{"login":"skyline75489","id":4710575,"avatar_url":"https://avatars3.githubusercontent.com/u/4710575?v=3","gravatar_id":"","url":"https://api.github.com/users/skyline75489","html_url":"https://github.com/skyline75489","followers_url":"https://api.github.com/users/skyline75489/followers","following_url":"https://api.github.com/users/skyline75489/following{/other_user}","gists_url":"https://api.github.com/users/skyline75489/gists{/gist_id}","starred_url":"https://api.github.com/users/skyline75489/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skyline75489/subscriptions","organizations_url":"https://api.github.com/users/skyline75489/orgs","repos_url":"https://api.github.com/users/skyline75489/repos","events_url":"https://api.github.com/users/skyline75489/events{/privacy}","received_events_url":"https://api.github.com/users/skyline75489/received_events","type":"User","site_admin":false},"repo":{"id":96440786,"name":"iina","full_name":"skyline75489/iina","owner":{"login":"skyline75489","id":4710575,"avatar_url":"https://avatars3.githubusercontent.com/u/4710575?v=3","gravatar_id":"","url":"https://api.github.com/users/skyline75489","html_url":"https://github.com/skyline75489","followers_url":"https://api.github.com/users/skyline75489/followers","following_url":"https://api.github.com/users/skyline75489/following{/other_user}","gists_url":"https://api.github.com/users/skyline75489/gists{/gist_id}","starred_url":"https://api.github.com/users/skyline75489/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skyline75489/subscriptions","organizations_url":"https://api.github.com/users/skyline75489/orgs","repos_url":"https://api.github.com/users/skyline75489/repos","events_url":"https://api.github.com/users/skyline75489/events{/privacy}","received_events_url":"https://api.github.com/users/skyline75489/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/skyline75489/iina","description":"The modern video player for macOS.","fork":true,"url":"https://api.github.com/repos/skyline75489/iina","forks_url":"https://api.github.com/repos/skyline75489/iina/forks","keys_url":"https://api.github.com/repos/skyline75489/iina/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skyline75489/iina/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skyline75489/iina/teams","hooks_url":"https://api.github.com/repos/skyline75489/iina/hooks","issue_events_url":"https://api.github.com/repos/skyline75489/iina/issues/events{/number}","events_url":"https://api.github.com/repos/skyline75489/iina/events","assignees_url":"https://api.github.com/repos/skyline75489/iina/assignees{/user}","branches_url":"https://api.github.com/repos/skyline75489/iina/branches{/branch}","tags_url":"https://api.github.com/repos/skyline75489/iina/tags","blobs_url":"https://api.github.com/repos/skyline75489/iina/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skyline75489/iina/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skyline75489/iina/git/refs{/sha}","trees_url":"https://api.github.com/repos/skyline75489/iina/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skyline75489/iina/statuses/{sha}","languages_url":"https://api.github.com/repos/skyline75489/iina/languages","stargazers_url":"https://api.github.com/repos/skyline75489/iina/stargazers","contributors_url":"https://api.github.com/repos/skyline75489/iina/contributors","subscribers_url":"https://api.github.com/repos/skyline75489/iina/subscribers","subscription_url":"https://api.github.com/repos/skyline75489/iina/subscription","commits_url":"https://api.github.com/repos/skyline75489/iina/commits{/sha}","git_commits_url":"https://api.github.com/repos/skyline75489/iina/git/commits{/sha}","comments_url":"https://api.github.com/repos/skyline75489/iina/comments{/number}","issue_comment_url":"https://api.github.com/repos/skyline75489/iina/issues/comments{/number}","contents_url":"https://api.github.com/repos/skyline75489/iina/contents/{+path}","compare_url":"https://api.github.com/repos/skyline75489/iina/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skyline75489/iina/merges","archive_url":"https://api.github.com/repos/skyline75489/iina/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skyline75489/iina/downloads","issues_url":"https://api.github.com/repos/skyline75489/iina/issues{/number}","pulls_url":"https://api.github.com/repos/skyline75489/iina/pulls{/number}","milestones_url":"https://api.github.com/repos/skyline75489/iina/milestones{/number}","notifications_url":"https://api.github.com/repos/skyline75489/iina/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skyline75489/iina/labels{/name}","releases_url":"https://api.github.com/repos/skyline75489/iina/releases{/id}","deployments_url":"https://api.github.com/repos/skyline75489/iina/deployments","created_at":"2017-07-06T14:44:15Z","updated_at":"2017-07-06T14:44:18Z","pushed_at":"2017-07-12T01:33:21Z","git_url":"git://github.com/skyline75489/iina.git","ssh_url":"git@github.com:skyline75489/iina.git","clone_url":"https://github.com/skyline75489/iina.git","svn_url":"https://github.com/skyline75489/iina","homepage":"https://lhc70000.github.io/iina/","size":90548,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"lhc70000:develop","ref":"develop","sha":"198f5d751c0a9a9b7144817612d24fae5a369b24","user":{"login":"lhc70000","id":8478049,"avatar_url":"https://avatars0.githubusercontent.com/u/8478049?v=3","gravatar_id":"","url":"https://api.github.com/users/lhc70000","html_url":"https://github.com/lhc70000","followers_url":"https://api.github.com/users/lhc70000/followers","following_url":"https://api.github.com/users/lhc70000/following{/other_user}","gists_url":"https://api.github.com/users/lhc70000/gists{/gist_id}","starred_url":"https://api.github.com/users/lhc70000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhc70000/subscriptions","organizations_url":"https://api.github.com/users/lhc70000/orgs","repos_url":"https://api.github.com/users/lhc70000/repos","events_url":"https://api.github.com/users/lhc70000/events{/privacy}","received_events_url":"https://api.github.com/users/lhc70000/received_events","type":"User","site_admin":false},"repo":{"id":76838017,"name":"iina","full_name":"lhc70000/iina","owner":{"login":"lhc70000","id":8478049,"avatar_url":"https://avatars0.githubusercontent.com/u/8478049?v=3","gravatar_id":"","url":"https://api.github.com/users/lhc70000","html_url":"https://github.com/lhc70000","followers_url":"https://api.github.com/users/lhc70000/followers","following_url":"https://api.github.com/users/lhc70000/following{/other_user}","gists_url":"https://api.github.com/users/lhc70000/gists{/gist_id}","starred_url":"https://api.github.com/users/lhc70000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhc70000/subscriptions","organizations_url":"https://api.github.com/users/lhc70000/orgs","repos_url":"https://api.github.com/users/lhc70000/repos","events_url":"https://api.github.com/users/lhc70000/events{/privacy}","received_events_url":"https://api.github.com/users/lhc70000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lhc70000/iina","description":"The modern video player for macOS.","fork":false,"url":"https://api.github.com/repos/lhc70000/iina","forks_url":"https://api.github.com/repos/lhc70000/iina/forks","keys_url":"https://api.github.com/repos/lhc70000/iina/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lhc70000/iina/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lhc70000/iina/teams","hooks_url":"https://api.github.com/repos/lhc70000/iina/hooks","issue_events_url":"https://api.github.com/repos/lhc70000/iina/issues/events{/number}","events_url":"https://api.github.com/repos/lhc70000/iina/events","assignees_url":"https://api.github.com/repos/lhc70000/iina/assignees{/user}","branches_url":"https://api.github.com/repos/lhc70000/iina/branches{/branch}","tags_url":"https://api.github.com/repos/lhc70000/iina/tags","blobs_url":"https://api.github.com/repos/lhc70000/iina/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lhc70000/iina/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lhc70000/iina/git/refs{/sha}","trees_url":"https://api.github.com/repos/lhc70000/iina/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lhc70000/iina/statuses/{sha}","languages_url":"https://api.github.com/repos/lhc70000/iina/languages","stargazers_url":"https://api.github.com/repos/lhc70000/iina/stargazers","contributors_url":"https://api.github.com/repos/lhc70000/iina/contributors","subscribers_url":"https://api.github.com/repos/lhc70000/iina/subscribers","subscription_url":"https://api.github.com/repos/lhc70000/iina/subscription","commits_url":"https://api.github.com/repos/lhc70000/iina/commits{/sha}","git_commits_url":"https://api.github.com/repos/lhc70000/iina/git/commits{/sha}","comments_url":"https://api.github.com/repos/lhc70000/iina/comments{/number}","issue_comment_url":"https://api.github.com/repos/lhc70000/iina/issues/comments{/number}","contents_url":"https://api.github.com/repos/lhc70000/iina/contents/{+path}","compare_url":"https://api.github.com/repos/lhc70000/iina/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lhc70000/iina/merges","archive_url":"https://api.github.com/repos/lhc70000/iina/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lhc70000/iina/downloads","issues_url":"https://api.github.com/repos/lhc70000/iina/issues{/number}","pulls_url":"https://api.github.com/repos/lhc70000/iina/pulls{/number}","milestones_url":"https://api.github.com/repos/lhc70000/iina/milestones{/number}","notifications_url":"https://api.github.com/repos/lhc70000/iina/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lhc70000/iina/labels{/name}","releases_url":"https://api.github.com/repos/lhc70000/iina/releases{/id}","deployments_url":"https://api.github.com/repos/lhc70000/iina/deployments","created_at":"2016-12-19T07:18:45Z","updated_at":"2017-07-12T16:31:29Z","pushed_at":"2017-07-12T23:36:14Z","git_url":"git://github.com/lhc70000/iina.git","ssh_url":"git@github.com:lhc70000/iina.git","clone_url":"https://github.com/lhc70000/iina.git","svn_url":"https://github.com/lhc70000/iina","homepage":"https://lhc70000.github.io/iina/","size":90748,"stargazers_count":6695,"watchers_count":6695,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":487,"mirror_url":null,"open_issues_count":236,"forks":487,"open_issues":236,"watchers":6695,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/lhc70000/iina/pulls/823"},"html":{"href":"https://github.com/lhc70000/iina/pull/823"},"issue":{"href":"https://api.github.com/repos/lhc70000/iina/issues/823"},"comments":{"href":"https://api.github.com/repos/lhc70000/iina/issues/823/comments"},"review_comments":{"href":"https://api.github.com/repos/lhc70000/iina/pulls/823/comments"},"review_comment":{"href":"https://api.github.com/repos/lhc70000/iina/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lhc70000/iina/pulls/823/commits"},"statuses":{"href":"https://api.github.com/repos/lhc70000/iina/statuses/7435493865b4bdc6636b069187f2c9c35548dd39"}}}}
{"actor":{"display_login":"saagarjha"}}