{"action":"created","comment":{"url":"https://api.github.com/repos/radare/sdb/pulls/comments/231844218","pull_request_review_id":172902254,"id":231844218,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMTg0NDIxOA==","diff_hunk":"@@ -127,6 +127,14 @@ SDB_API SdbHt* ht_new(DupValue valdup, HtKvFreeFunc pair_free, CalcSize calcsize\n \t\tvaldup, pair_free, (CalcSize)strlen, calcsizeV, sizeof (HtKv));\n }\n \n+static void free_kv_key(HtKv *kv) {\n+\tfree (kv->key);\n+}\n+\n+SDB_API SdbHt* ht_new0() {","path":"src/ht.c","position":8,"original_position":8,"commit_id":"255f5a7cfbc697ca9c160fe77aa0a830b0f5a920","original_commit_id":"255f5a7cfbc697ca9c160fe77aa0a830b0f5a920","user":{"login":"radare","id":917142,"node_id":"MDQ6VXNlcjkxNzE0Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/917142?v=4","gravatar_id":"","url":"https://api.github.com/users/radare","html_url":"https://github.com/radare","followers_url":"https://api.github.com/users/radare/followers","following_url":"https://api.github.com/users/radare/following{/other_user}","gists_url":"https://api.github.com/users/radare/gists{/gist_id}","starred_url":"https://api.github.com/users/radare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radare/subscriptions","organizations_url":"https://api.github.com/users/radare/orgs","repos_url":"https://api.github.com/users/radare/repos","events_url":"https://api.github.com/users/radare/events{/privacy}","received_events_url":"https://api.github.com/users/radare/received_events","type":"User","site_admin":false},"body":"add void","created_at":"2018-11-08T10:57:45Z","updated_at":"2018-11-08T10:57:46Z","html_url":"https://github.com/radare/sdb/pull/174#discussion_r231844218","pull_request_url":"https://api.github.com/repos/radare/sdb/pulls/174","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/radare/sdb/pulls/comments/231844218"},"html":{"href":"https://github.com/radare/sdb/pull/174#discussion_r231844218"},"pull_request":{"href":"https://api.github.com/repos/radare/sdb/pulls/174"}}},"pull_request":{"url":"https://api.github.com/repos/radare/sdb/pulls/174","id":229135063,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5MTM1MDYz","html_url":"https://github.com/radare/sdb/pull/174","diff_url":"https://github.com/radare/sdb/pull/174.diff","patch_url":"https://github.com/radare/sdb/pull/174.patch","issue_url":"https://api.github.com/repos/radare/sdb/issues/174","number":174,"state":"open","locked":false,"title":"ht: provide ht_new0 API for convenience","user":{"login":"ret2libc","id":562321,"node_id":"MDQ6VXNlcjU2MjMyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/562321?v=4","gravatar_id":"","url":"https://api.github.com/users/ret2libc","html_url":"https://github.com/ret2libc","followers_url":"https://api.github.com/users/ret2libc/followers","following_url":"https://api.github.com/users/ret2libc/following{/other_user}","gists_url":"https://api.github.com/users/ret2libc/gists{/gist_id}","starred_url":"https://api.github.com/users/ret2libc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ret2libc/subscriptions","organizations_url":"https://api.github.com/users/ret2libc/orgs","repos_url":"https://api.github.com/users/ret2libc/repos","events_url":"https://api.github.com/users/ret2libc/events{/privacy}","received_events_url":"https://api.github.com/users/ret2libc/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-07T19:03:01Z","updated_at":"2018-11-08T10:57:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c69128a60f422b92b7c512dc95f68824c79ad7e8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/radare/sdb/pulls/174/commits","review_comments_url":"https://api.github.com/repos/radare/sdb/pulls/174/comments","review_comment_url":"https://api.github.com/repos/radare/sdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/radare/sdb/issues/174/comments","statuses_url":"https://api.github.com/repos/radare/sdb/statuses/255f5a7cfbc697ca9c160fe77aa0a830b0f5a920","head":{"label":"ret2libc:htnew0","ref":"htnew0","sha":"255f5a7cfbc697ca9c160fe77aa0a830b0f5a920","user":{"login":"ret2libc","id":562321,"node_id":"MDQ6VXNlcjU2MjMyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/562321?v=4","gravatar_id":"","url":"https://api.github.com/users/ret2libc","html_url":"https://github.com/ret2libc","followers_url":"https://api.github.com/users/ret2libc/followers","following_url":"https://api.github.com/users/ret2libc/following{/other_user}","gists_url":"https://api.github.com/users/ret2libc/gists{/gist_id}","starred_url":"https://api.github.com/users/ret2libc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ret2libc/subscriptions","organizations_url":"https://api.github.com/users/ret2libc/orgs","repos_url":"https://api.github.com/users/ret2libc/repos","events_url":"https://api.github.com/users/ret2libc/events{/privacy}","received_events_url":"https://api.github.com/users/ret2libc/received_events","type":"User","site_admin":false},"repo":{"id":52669536,"node_id":"MDEwOlJlcG9zaXRvcnk1MjY2OTUzNg==","name":"sdb","full_name":"ret2libc/sdb","private":false,"owner":{"login":"ret2libc","id":562321,"node_id":"MDQ6VXNlcjU2MjMyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/562321?v=4","gravatar_id":"","url":"https://api.github.com/users/ret2libc","html_url":"https://github.com/ret2libc","followers_url":"https://api.github.com/users/ret2libc/followers","following_url":"https://api.github.com/users/ret2libc/following{/other_user}","gists_url":"https://api.github.com/users/ret2libc/gists{/gist_id}","starred_url":"https://api.github.com/users/ret2libc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ret2libc/subscriptions","organizations_url":"https://api.github.com/users/ret2libc/orgs","repos_url":"https://api.github.com/users/ret2libc/repos","events_url":"https://api.github.com/users/ret2libc/events{/privacy}","received_events_url":"https://api.github.com/users/ret2libc/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ret2libc/sdb","description":"simple and fast string based key-value database with support for arrays and json","fork":true,"url":"https://api.github.com/repos/ret2libc/sdb","forks_url":"https://api.github.com/repos/ret2libc/sdb/forks","keys_url":"https://api.github.com/repos/ret2libc/sdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ret2libc/sdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ret2libc/sdb/teams","hooks_url":"https://api.github.com/repos/ret2libc/sdb/hooks","issue_events_url":"https://api.github.com/repos/ret2libc/sdb/issues/events{/number}","events_url":"https://api.github.com/repos/ret2libc/sdb/events","assignees_url":"https://api.github.com/repos/ret2libc/sdb/assignees{/user}","branches_url":"https://api.github.com/repos/ret2libc/sdb/branches{/branch}","tags_url":"https://api.github.com/repos/ret2libc/sdb/tags","blobs_url":"https://api.github.com/repos/ret2libc/sdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ret2libc/sdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ret2libc/sdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/ret2libc/sdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ret2libc/sdb/statuses/{sha}","languages_url":"https://api.github.com/repos/ret2libc/sdb/languages","stargazers_url":"https://api.github.com/repos/ret2libc/sdb/stargazers","contributors_url":"https://api.github.com/repos/ret2libc/sdb/contributors","subscribers_url":"https://api.github.com/repos/ret2libc/sdb/subscribers","subscription_url":"https://api.github.com/repos/ret2libc/sdb/subscription","commits_url":"https://api.github.com/repos/ret2libc/sdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/ret2libc/sdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/ret2libc/sdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/ret2libc/sdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/ret2libc/sdb/contents/{+path}","compare_url":"https://api.github.com/repos/ret2libc/sdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ret2libc/sdb/merges","archive_url":"https://api.github.com/repos/ret2libc/sdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ret2libc/sdb/downloads","issues_url":"https://api.github.com/repos/ret2libc/sdb/issues{/number}","pulls_url":"https://api.github.com/repos/ret2libc/sdb/pulls{/number}","milestones_url":"https://api.github.com/repos/ret2libc/sdb/milestones{/number}","notifications_url":"https://api.github.com/repos/ret2libc/sdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ret2libc/sdb/labels{/name}","releases_url":"https://api.github.com/repos/ret2libc/sdb/releases{/id}","deployments_url":"https://api.github.com/repos/ret2libc/sdb/deployments","created_at":"2016-02-27T14:04:42Z","updated_at":"2018-10-18T08:16:15Z","pushed_at":"2018-11-08T09:53:46Z","git_url":"git://github.com/ret2libc/sdb.git","ssh_url":"git@github.com:ret2libc/sdb.git","clone_url":"https://github.com/ret2libc/sdb.git","svn_url":"https://github.com/ret2libc/sdb","homepage":"","size":1870,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"radare:master","ref":"master","sha":"56eee03f6522adba2b21a0623b756e85cac8508b","user":{"login":"radare","id":917142,"node_id":"MDQ6VXNlcjkxNzE0Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/917142?v=4","gravatar_id":"","url":"https://api.github.com/users/radare","html_url":"https://github.com/radare","followers_url":"https://api.github.com/users/radare/followers","following_url":"https://api.github.com/users/radare/following{/other_user}","gists_url":"https://api.github.com/users/radare/gists{/gist_id}","starred_url":"https://api.github.com/users/radare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radare/subscriptions","organizations_url":"https://api.github.com/users/radare/orgs","repos_url":"https://api.github.com/users/radare/repos","events_url":"https://api.github.com/users/radare/events{/privacy}","received_events_url":"https://api.github.com/users/radare/received_events","type":"User","site_admin":false},"repo":{"id":5665061,"node_id":"MDEwOlJlcG9zaXRvcnk1NjY1MDYx","name":"sdb","full_name":"radare/sdb","private":false,"owner":{"login":"radare","id":917142,"node_id":"MDQ6VXNlcjkxNzE0Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/917142?v=4","gravatar_id":"","url":"https://api.github.com/users/radare","html_url":"https://github.com/radare","followers_url":"https://api.github.com/users/radare/followers","following_url":"https://api.github.com/users/radare/following{/other_user}","gists_url":"https://api.github.com/users/radare/gists{/gist_id}","starred_url":"https://api.github.com/users/radare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radare/subscriptions","organizations_url":"https://api.github.com/users/radare/orgs","repos_url":"https://api.github.com/users/radare/repos","events_url":"https://api.github.com/users/radare/events{/privacy}","received_events_url":"https://api.github.com/users/radare/received_events","type":"User","site_admin":false},"html_url":"https://github.com/radare/sdb","description":"simple and fast string based key-value database with support for arrays and json","fork":false,"url":"https://api.github.com/repos/radare/sdb","forks_url":"https://api.github.com/repos/radare/sdb/forks","keys_url":"https://api.github.com/repos/radare/sdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/radare/sdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/radare/sdb/teams","hooks_url":"https://api.github.com/repos/radare/sdb/hooks","issue_events_url":"https://api.github.com/repos/radare/sdb/issues/events{/number}","events_url":"https://api.github.com/repos/radare/sdb/events","assignees_url":"https://api.github.com/repos/radare/sdb/assignees{/user}","branches_url":"https://api.github.com/repos/radare/sdb/branches{/branch}","tags_url":"https://api.github.com/repos/radare/sdb/tags","blobs_url":"https://api.github.com/repos/radare/sdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/radare/sdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/radare/sdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/radare/sdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/radare/sdb/statuses/{sha}","languages_url":"https://api.github.com/repos/radare/sdb/languages","stargazers_url":"https://api.github.com/repos/radare/sdb/stargazers","contributors_url":"https://api.github.com/repos/radare/sdb/contributors","subscribers_url":"https://api.github.com/repos/radare/sdb/subscribers","subscription_url":"https://api.github.com/repos/radare/sdb/subscription","commits_url":"https://api.github.com/repos/radare/sdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/radare/sdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/radare/sdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/radare/sdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/radare/sdb/contents/{+path}","compare_url":"https://api.github.com/repos/radare/sdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/radare/sdb/merges","archive_url":"https://api.github.com/repos/radare/sdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/radare/sdb/downloads","issues_url":"https://api.github.com/repos/radare/sdb/issues{/number}","pulls_url":"https://api.github.com/repos/radare/sdb/pulls{/number}","milestones_url":"https://api.github.com/repos/radare/sdb/milestones{/number}","notifications_url":"https://api.github.com/repos/radare/sdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/radare/sdb/labels{/name}","releases_url":"https://api.github.com/repos/radare/sdb/releases{/id}","deployments_url":"https://api.github.com/repos/radare/sdb/deployments","created_at":"2012-09-03T23:15:15Z","updated_at":"2018-11-07T01:58:23Z","pushed_at":"2018-11-08T09:53:47Z","git_url":"git://github.com/radare/sdb.git","ssh_url":"git@github.com:radare/sdb.git","clone_url":"https://github.com/radare/sdb.git","svn_url":"https://github.com/radare/sdb","homepage":"","size":1719,"stargazers_count":117,"watchers_count":117,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"archived":false,"open_issues_count":34,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":42,"open_issues":34,"watchers":117,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/radare/sdb/pulls/174"},"html":{"href":"https://github.com/radare/sdb/pull/174"},"issue":{"href":"https://api.github.com/repos/radare/sdb/issues/174"},"comments":{"href":"https://api.github.com/repos/radare/sdb/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/radare/sdb/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/radare/sdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/radare/sdb/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/radare/sdb/statuses/255f5a7cfbc697ca9c160fe77aa0a830b0f5a920"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"radare"}}