{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/xonce/CSpider/pulls/6","id":54686749,"html_url":"https://github.com/xonce/CSpider/pull/6","diff_url":"https://github.com/xonce/CSpider/pull/6.diff","patch_url":"https://github.com/xonce/CSpider/pull/6.patch","issue_url":"https://api.github.com/repos/xonce/CSpider/issues/6","number":6,"state":"closed","locked":false,"title":"Fixed memory leak with pcre object","user":{"login":"tijko","id":1518884,"avatar_url":"https://avatars.githubusercontent.com/u/1518884?v=3","gravatar_id":"","url":"https://api.github.com/users/tijko","html_url":"https://github.com/tijko","followers_url":"https://api.github.com/users/tijko/followers","following_url":"https://api.github.com/users/tijko/following{/other_user}","gists_url":"https://api.github.com/users/tijko/gists{/gist_id}","starred_url":"https://api.github.com/users/tijko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijko/subscriptions","organizations_url":"https://api.github.com/users/tijko/orgs","repos_url":"https://api.github.com/users/tijko/repos","events_url":"https://api.github.com/users/tijko/events{/privacy}","received_events_url":"https://api.github.com/users/tijko/received_events","type":"User","site_admin":false},"body":"The `pcre_compile` was leaking memory without following up with a call to `pcre_free`.  \r\n\r\nFrom the [pcre](http://pcre.org/pcre.txt) docs:\r\n>It is up to the caller to free the memory (via pcre_free) when it is no\r\n       longer required.","created_at":"2015-12-28T21:56:19Z","updated_at":"2015-12-28T22:11:58Z","closed_at":"2015-12-28T22:11:58Z","merged_at":"2015-12-28T22:11:58Z","merge_commit_sha":"2f01695494c2f3e09cb7e08f1bf782ae8a861ceb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xonce/CSpider/pulls/6/commits","review_comments_url":"https://api.github.com/repos/xonce/CSpider/pulls/6/comments","review_comment_url":"https://api.github.com/repos/xonce/CSpider/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xonce/CSpider/issues/6/comments","statuses_url":"https://api.github.com/repos/xonce/CSpider/statuses/32a1d163baa1bf97f221802b232b2c497b660817","head":{"label":"tijko:master","ref":"master","sha":"32a1d163baa1bf97f221802b232b2c497b660817","user":{"login":"tijko","id":1518884,"avatar_url":"https://avatars.githubusercontent.com/u/1518884?v=3","gravatar_id":"","url":"https://api.github.com/users/tijko","html_url":"https://github.com/tijko","followers_url":"https://api.github.com/users/tijko/followers","following_url":"https://api.github.com/users/tijko/following{/other_user}","gists_url":"https://api.github.com/users/tijko/gists{/gist_id}","starred_url":"https://api.github.com/users/tijko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijko/subscriptions","organizations_url":"https://api.github.com/users/tijko/orgs","repos_url":"https://api.github.com/users/tijko/repos","events_url":"https://api.github.com/users/tijko/events{/privacy}","received_events_url":"https://api.github.com/users/tijko/received_events","type":"User","site_admin":false},"repo":{"id":48713988,"name":"CSpider","full_name":"tijko/CSpider","owner":{"login":"tijko","id":1518884,"avatar_url":"https://avatars.githubusercontent.com/u/1518884?v=3","gravatar_id":"","url":"https://api.github.com/users/tijko","html_url":"https://github.com/tijko","followers_url":"https://api.github.com/users/tijko/followers","following_url":"https://api.github.com/users/tijko/following{/other_user}","gists_url":"https://api.github.com/users/tijko/gists{/gist_id}","starred_url":"https://api.github.com/users/tijko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijko/subscriptions","organizations_url":"https://api.github.com/users/tijko/orgs","repos_url":"https://api.github.com/users/tijko/repos","events_url":"https://api.github.com/users/tijko/events{/privacy}","received_events_url":"https://api.github.com/users/tijko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tijko/CSpider","description":"A scalable and convenient crawler framework based on C:).","fork":true,"url":"https://api.github.com/repos/tijko/CSpider","forks_url":"https://api.github.com/repos/tijko/CSpider/forks","keys_url":"https://api.github.com/repos/tijko/CSpider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tijko/CSpider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tijko/CSpider/teams","hooks_url":"https://api.github.com/repos/tijko/CSpider/hooks","issue_events_url":"https://api.github.com/repos/tijko/CSpider/issues/events{/number}","events_url":"https://api.github.com/repos/tijko/CSpider/events","assignees_url":"https://api.github.com/repos/tijko/CSpider/assignees{/user}","branches_url":"https://api.github.com/repos/tijko/CSpider/branches{/branch}","tags_url":"https://api.github.com/repos/tijko/CSpider/tags","blobs_url":"https://api.github.com/repos/tijko/CSpider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tijko/CSpider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tijko/CSpider/git/refs{/sha}","trees_url":"https://api.github.com/repos/tijko/CSpider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tijko/CSpider/statuses/{sha}","languages_url":"https://api.github.com/repos/tijko/CSpider/languages","stargazers_url":"https://api.github.com/repos/tijko/CSpider/stargazers","contributors_url":"https://api.github.com/repos/tijko/CSpider/contributors","subscribers_url":"https://api.github.com/repos/tijko/CSpider/subscribers","subscription_url":"https://api.github.com/repos/tijko/CSpider/subscription","commits_url":"https://api.github.com/repos/tijko/CSpider/commits{/sha}","git_commits_url":"https://api.github.com/repos/tijko/CSpider/git/commits{/sha}","comments_url":"https://api.github.com/repos/tijko/CSpider/comments{/number}","issue_comment_url":"https://api.github.com/repos/tijko/CSpider/issues/comments{/number}","contents_url":"https://api.github.com/repos/tijko/CSpider/contents/{+path}","compare_url":"https://api.github.com/repos/tijko/CSpider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tijko/CSpider/merges","archive_url":"https://api.github.com/repos/tijko/CSpider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tijko/CSpider/downloads","issues_url":"https://api.github.com/repos/tijko/CSpider/issues{/number}","pulls_url":"https://api.github.com/repos/tijko/CSpider/pulls{/number}","milestones_url":"https://api.github.com/repos/tijko/CSpider/milestones{/number}","notifications_url":"https://api.github.com/repos/tijko/CSpider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tijko/CSpider/labels{/name}","releases_url":"https://api.github.com/repos/tijko/CSpider/releases{/id}","created_at":"2015-12-28T21:48:00Z","updated_at":"2015-12-28T21:48:01Z","pushed_at":"2015-12-28T22:02:47Z","git_url":"git://github.com/tijko/CSpider.git","ssh_url":"git@github.com:tijko/CSpider.git","clone_url":"https://github.com/tijko/CSpider.git","svn_url":"https://github.com/tijko/CSpider","homepage":null,"size":171,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"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":"master"}},"base":{"label":"xonce:master","ref":"master","sha":"3704678b3fb6d3870d72a3bb6657385c93806440","user":{"login":"xonce","id":15933582,"avatar_url":"https://avatars.githubusercontent.com/u/15933582?v=3","gravatar_id":"","url":"https://api.github.com/users/xonce","html_url":"https://github.com/xonce","followers_url":"https://api.github.com/users/xonce/followers","following_url":"https://api.github.com/users/xonce/following{/other_user}","gists_url":"https://api.github.com/users/xonce/gists{/gist_id}","starred_url":"https://api.github.com/users/xonce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xonce/subscriptions","organizations_url":"https://api.github.com/users/xonce/orgs","repos_url":"https://api.github.com/users/xonce/repos","events_url":"https://api.github.com/users/xonce/events{/privacy}","received_events_url":"https://api.github.com/users/xonce/received_events","type":"Organization","site_admin":false},"repo":{"id":48669283,"name":"CSpider","full_name":"xonce/CSpider","owner":{"login":"xonce","id":15933582,"avatar_url":"https://avatars.githubusercontent.com/u/15933582?v=3","gravatar_id":"","url":"https://api.github.com/users/xonce","html_url":"https://github.com/xonce","followers_url":"https://api.github.com/users/xonce/followers","following_url":"https://api.github.com/users/xonce/following{/other_user}","gists_url":"https://api.github.com/users/xonce/gists{/gist_id}","starred_url":"https://api.github.com/users/xonce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xonce/subscriptions","organizations_url":"https://api.github.com/users/xonce/orgs","repos_url":"https://api.github.com/users/xonce/repos","events_url":"https://api.github.com/users/xonce/events{/privacy}","received_events_url":"https://api.github.com/users/xonce/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xonce/CSpider","description":"A scalable and convenient crawler framework based on C:).","fork":false,"url":"https://api.github.com/repos/xonce/CSpider","forks_url":"https://api.github.com/repos/xonce/CSpider/forks","keys_url":"https://api.github.com/repos/xonce/CSpider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xonce/CSpider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xonce/CSpider/teams","hooks_url":"https://api.github.com/repos/xonce/CSpider/hooks","issue_events_url":"https://api.github.com/repos/xonce/CSpider/issues/events{/number}","events_url":"https://api.github.com/repos/xonce/CSpider/events","assignees_url":"https://api.github.com/repos/xonce/CSpider/assignees{/user}","branches_url":"https://api.github.com/repos/xonce/CSpider/branches{/branch}","tags_url":"https://api.github.com/repos/xonce/CSpider/tags","blobs_url":"https://api.github.com/repos/xonce/CSpider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xonce/CSpider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xonce/CSpider/git/refs{/sha}","trees_url":"https://api.github.com/repos/xonce/CSpider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xonce/CSpider/statuses/{sha}","languages_url":"https://api.github.com/repos/xonce/CSpider/languages","stargazers_url":"https://api.github.com/repos/xonce/CSpider/stargazers","contributors_url":"https://api.github.com/repos/xonce/CSpider/contributors","subscribers_url":"https://api.github.com/repos/xonce/CSpider/subscribers","subscription_url":"https://api.github.com/repos/xonce/CSpider/subscription","commits_url":"https://api.github.com/repos/xonce/CSpider/commits{/sha}","git_commits_url":"https://api.github.com/repos/xonce/CSpider/git/commits{/sha}","comments_url":"https://api.github.com/repos/xonce/CSpider/comments{/number}","issue_comment_url":"https://api.github.com/repos/xonce/CSpider/issues/comments{/number}","contents_url":"https://api.github.com/repos/xonce/CSpider/contents/{+path}","compare_url":"https://api.github.com/repos/xonce/CSpider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xonce/CSpider/merges","archive_url":"https://api.github.com/repos/xonce/CSpider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xonce/CSpider/downloads","issues_url":"https://api.github.com/repos/xonce/CSpider/issues{/number}","pulls_url":"https://api.github.com/repos/xonce/CSpider/pulls{/number}","milestones_url":"https://api.github.com/repos/xonce/CSpider/milestones{/number}","notifications_url":"https://api.github.com/repos/xonce/CSpider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xonce/CSpider/labels{/name}","releases_url":"https://api.github.com/repos/xonce/CSpider/releases{/id}","created_at":"2015-12-28T02:18:28Z","updated_at":"2015-12-28T03:50:23Z","pushed_at":"2015-12-28T22:11:58Z","git_url":"git://github.com/xonce/CSpider.git","ssh_url":"git@github.com:xonce/CSpider.git","clone_url":"https://github.com/xonce/CSpider.git","svn_url":"https://github.com/xonce/CSpider","homepage":null,"size":171,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xonce/CSpider/pulls/6"},"html":{"href":"https://github.com/xonce/CSpider/pull/6"},"issue":{"href":"https://api.github.com/repos/xonce/CSpider/issues/6"},"comments":{"href":"https://api.github.com/repos/xonce/CSpider/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/xonce/CSpider/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/xonce/CSpider/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xonce/CSpider/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/xonce/CSpider/statuses/32a1d163baa1bf97f221802b232b2c497b660817"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mitghi","id":4160350,"avatar_url":"https://avatars.githubusercontent.com/u/4160350?v=3","gravatar_id":"","url":"https://api.github.com/users/mitghi","html_url":"https://github.com/mitghi","followers_url":"https://api.github.com/users/mitghi/followers","following_url":"https://api.github.com/users/mitghi/following{/other_user}","gists_url":"https://api.github.com/users/mitghi/gists{/gist_id}","starred_url":"https://api.github.com/users/mitghi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitghi/subscriptions","organizations_url":"https://api.github.com/users/mitghi/orgs","repos_url":"https://api.github.com/users/mitghi/repos","events_url":"https://api.github.com/users/mitghi/events{/privacy}","received_events_url":"https://api.github.com/users/mitghi/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":3,"deletions":1,"changed_files":2}}