{"action":"created","comment":{"url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls/comments/60910412","id":60910412,"diff_hunk":"@@ -106,9 +106,9 @@ PHP_FUNCTION(poppler_pdf_open)\n         } else {\n             abs_name = g_build_filename(name, NULL);\n         }\n-        gfree(cwd);\n+        g_free(cwd);\n         uri = g_filename_to_uri(abs_name, NULL, NULL);\n-        gfree(abs_name);\n+        g_free(abs_name);","path":"poppler.c","position":35,"original_position":35,"commit_id":"176ff7860536b742245f20690ca6518147b96338","original_commit_id":"176ff7860536b742245f20690ca6518147b96338","user":{"login":"rwos","id":747372,"avatar_url":"https://avatars.githubusercontent.com/u/747372?v=3","gravatar_id":"","url":"https://api.github.com/users/rwos","html_url":"https://github.com/rwos","followers_url":"https://api.github.com/users/rwos/followers","following_url":"https://api.github.com/users/rwos/following{/other_user}","gists_url":"https://api.github.com/users/rwos/gists{/gist_id}","starred_url":"https://api.github.com/users/rwos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwos/subscriptions","organizations_url":"https://api.github.com/users/rwos/orgs","repos_url":"https://api.github.com/users/rwos/repos","events_url":"https://api.github.com/users/rwos/events{/privacy}","received_events_url":"https://api.github.com/users/rwos/received_events","type":"User","site_admin":false},"body":"I'm not sure how this ever worked - the function seems to be called `g_free` - https://developer.gnome.org/glib/stable/glib-Memory-Allocation.html#g-free but if `gfree` wouldn't exist at all we should've gotten a linker error. Aaaaanyway, should be correct now.","created_at":"2016-04-25T13:18:47Z","updated_at":"2016-04-25T13:18:47Z","html_url":"https://github.com/easybiblabs/php-poppler-pdf/pull/7#discussion_r60910412","pull_request_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls/comments/60910412"},"html":{"href":"https://github.com/easybiblabs/php-poppler-pdf/pull/7#discussion_r60910412"},"pull_request":{"href":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls/7","id":67217666,"html_url":"https://github.com/easybiblabs/php-poppler-pdf/pull/7","diff_url":"https://github.com/easybiblabs/php-poppler-pdf/pull/7.diff","patch_url":"https://github.com/easybiblabs/php-poppler-pdf/pull/7.patch","issue_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/issues/7","number":7,"state":"open","locked":false,"title":"initial php7 port","user":{"login":"rwos","id":747372,"avatar_url":"https://avatars.githubusercontent.com/u/747372?v=3","gravatar_id":"","url":"https://api.github.com/users/rwos","html_url":"https://github.com/rwos","followers_url":"https://api.github.com/users/rwos/followers","following_url":"https://api.github.com/users/rwos/following{/other_user}","gists_url":"https://api.github.com/users/rwos/gists{/gist_id}","starred_url":"https://api.github.com/users/rwos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwos/subscriptions","organizations_url":"https://api.github.com/users/rwos/orgs","repos_url":"https://api.github.com/users/rwos/repos","events_url":"https://api.github.com/users/rwos/events{/privacy}","received_events_url":"https://api.github.com/users/rwos/received_events","type":"User","site_admin":false},"body":"to build (on debian):\r\n\r\n        sudo apt-get install php7.0-dev\r\n        phpize7.0\r\n        ./configure\r\n        make\r\n\r\ndocs: https://wiki.php.net/phpng-upgrading\r\n\r\nPretty much untested (apart from the basic test cases in here), may eat your dog. The docs are a joke, too.","created_at":"2016-04-20T16:25:51Z","updated_at":"2016-04-25T13:18:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9600ff8f8c9bf5fadcbc5ed316ac658c0c3ab12","assignee":{"login":"rwos","id":747372,"avatar_url":"https://avatars.githubusercontent.com/u/747372?v=3","gravatar_id":"","url":"https://api.github.com/users/rwos","html_url":"https://github.com/rwos","followers_url":"https://api.github.com/users/rwos/followers","following_url":"https://api.github.com/users/rwos/following{/other_user}","gists_url":"https://api.github.com/users/rwos/gists{/gist_id}","starred_url":"https://api.github.com/users/rwos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwos/subscriptions","organizations_url":"https://api.github.com/users/rwos/orgs","repos_url":"https://api.github.com/users/rwos/repos","events_url":"https://api.github.com/users/rwos/events{/privacy}","received_events_url":"https://api.github.com/users/rwos/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls/7/commits","review_comments_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls/7/comments","review_comment_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/issues/7/comments","statuses_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/statuses/176ff7860536b742245f20690ca6518147b96338","head":{"label":"easybiblabs:t/php7","ref":"t/php7","sha":"176ff7860536b742245f20690ca6518147b96338","user":{"login":"easybiblabs","id":4500525,"avatar_url":"https://avatars.githubusercontent.com/u/4500525?v=3","gravatar_id":"","url":"https://api.github.com/users/easybiblabs","html_url":"https://github.com/easybiblabs","followers_url":"https://api.github.com/users/easybiblabs/followers","following_url":"https://api.github.com/users/easybiblabs/following{/other_user}","gists_url":"https://api.github.com/users/easybiblabs/gists{/gist_id}","starred_url":"https://api.github.com/users/easybiblabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easybiblabs/subscriptions","organizations_url":"https://api.github.com/users/easybiblabs/orgs","repos_url":"https://api.github.com/users/easybiblabs/repos","events_url":"https://api.github.com/users/easybiblabs/events{/privacy}","received_events_url":"https://api.github.com/users/easybiblabs/received_events","type":"Organization","site_admin":false},"repo":{"id":14957888,"name":"php-poppler-pdf","full_name":"easybiblabs/php-poppler-pdf","owner":{"login":"easybiblabs","id":4500525,"avatar_url":"https://avatars.githubusercontent.com/u/4500525?v=3","gravatar_id":"","url":"https://api.github.com/users/easybiblabs","html_url":"https://github.com/easybiblabs","followers_url":"https://api.github.com/users/easybiblabs/followers","following_url":"https://api.github.com/users/easybiblabs/following{/other_user}","gists_url":"https://api.github.com/users/easybiblabs/gists{/gist_id}","starred_url":"https://api.github.com/users/easybiblabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easybiblabs/subscriptions","organizations_url":"https://api.github.com/users/easybiblabs/orgs","repos_url":"https://api.github.com/users/easybiblabs/repos","events_url":"https://api.github.com/users/easybiblabs/events{/privacy}","received_events_url":"https://api.github.com/users/easybiblabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/easybiblabs/php-poppler-pdf","description":"A PHP extension using libpoppler. This is a high-level binding , and does not expose the whole poppler API.","fork":false,"url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf","forks_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/forks","keys_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/teams","hooks_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/hooks","issue_events_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/issues/events{/number}","events_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/events","assignees_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/assignees{/user}","branches_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/branches{/branch}","tags_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/tags","blobs_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/git/refs{/sha}","trees_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/statuses/{sha}","languages_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/languages","stargazers_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/stargazers","contributors_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/contributors","subscribers_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/subscribers","subscription_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/subscription","commits_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/commits{/sha}","git_commits_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/git/commits{/sha}","comments_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/comments{/number}","issue_comment_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/issues/comments{/number}","contents_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/contents/{+path}","compare_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/merges","archive_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/downloads","issues_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/issues{/number}","pulls_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls{/number}","milestones_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/milestones{/number}","notifications_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/labels{/name}","releases_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/releases{/id}","deployments_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/deployments","created_at":"2013-12-05T15:47:32Z","updated_at":"2015-09-08T02:25:46Z","pushed_at":"2016-04-20T17:06:46Z","git_url":"git://github.com/easybiblabs/php-poppler-pdf.git","ssh_url":"git@github.com:easybiblabs/php-poppler-pdf.git","clone_url":"https://github.com/easybiblabs/php-poppler-pdf.git","svn_url":"https://github.com/easybiblabs/php-poppler-pdf","homepage":"","size":158,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":4,"default_branch":"master"}},"base":{"label":"easybiblabs:master","ref":"master","sha":"317ec40da59661a55e9ac4cf44ff787b79d80be3","user":{"login":"easybiblabs","id":4500525,"avatar_url":"https://avatars.githubusercontent.com/u/4500525?v=3","gravatar_id":"","url":"https://api.github.com/users/easybiblabs","html_url":"https://github.com/easybiblabs","followers_url":"https://api.github.com/users/easybiblabs/followers","following_url":"https://api.github.com/users/easybiblabs/following{/other_user}","gists_url":"https://api.github.com/users/easybiblabs/gists{/gist_id}","starred_url":"https://api.github.com/users/easybiblabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easybiblabs/subscriptions","organizations_url":"https://api.github.com/users/easybiblabs/orgs","repos_url":"https://api.github.com/users/easybiblabs/repos","events_url":"https://api.github.com/users/easybiblabs/events{/privacy}","received_events_url":"https://api.github.com/users/easybiblabs/received_events","type":"Organization","site_admin":false},"repo":{"id":14957888,"name":"php-poppler-pdf","full_name":"easybiblabs/php-poppler-pdf","owner":{"login":"easybiblabs","id":4500525,"avatar_url":"https://avatars.githubusercontent.com/u/4500525?v=3","gravatar_id":"","url":"https://api.github.com/users/easybiblabs","html_url":"https://github.com/easybiblabs","followers_url":"https://api.github.com/users/easybiblabs/followers","following_url":"https://api.github.com/users/easybiblabs/following{/other_user}","gists_url":"https://api.github.com/users/easybiblabs/gists{/gist_id}","starred_url":"https://api.github.com/users/easybiblabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easybiblabs/subscriptions","organizations_url":"https://api.github.com/users/easybiblabs/orgs","repos_url":"https://api.github.com/users/easybiblabs/repos","events_url":"https://api.github.com/users/easybiblabs/events{/privacy}","received_events_url":"https://api.github.com/users/easybiblabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/easybiblabs/php-poppler-pdf","description":"A PHP extension using libpoppler. This is a high-level binding , and does not expose the whole poppler API.","fork":false,"url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf","forks_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/forks","keys_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/teams","hooks_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/hooks","issue_events_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/issues/events{/number}","events_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/events","assignees_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/assignees{/user}","branches_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/branches{/branch}","tags_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/tags","blobs_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/git/refs{/sha}","trees_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/statuses/{sha}","languages_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/languages","stargazers_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/stargazers","contributors_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/contributors","subscribers_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/subscribers","subscription_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/subscription","commits_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/commits{/sha}","git_commits_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/git/commits{/sha}","comments_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/comments{/number}","issue_comment_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/issues/comments{/number}","contents_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/contents/{+path}","compare_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/merges","archive_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/downloads","issues_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/issues{/number}","pulls_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls{/number}","milestones_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/milestones{/number}","notifications_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/labels{/name}","releases_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/releases{/id}","deployments_url":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/deployments","created_at":"2013-12-05T15:47:32Z","updated_at":"2015-09-08T02:25:46Z","pushed_at":"2016-04-20T17:06:46Z","git_url":"git://github.com/easybiblabs/php-poppler-pdf.git","ssh_url":"git@github.com:easybiblabs/php-poppler-pdf.git","clone_url":"https://github.com/easybiblabs/php-poppler-pdf.git","svn_url":"https://github.com/easybiblabs/php-poppler-pdf","homepage":"","size":158,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls/7"},"html":{"href":"https://github.com/easybiblabs/php-poppler-pdf/pull/7"},"issue":{"href":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/issues/7"},"comments":{"href":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/easybiblabs/php-poppler-pdf/statuses/176ff7860536b742245f20690ca6518147b96338"}}}}