{"action":"created","issue":{"url":"https://api.github.com/repos/h2non/semver.c/issues/7","labels_url":"https://api.github.com/repos/h2non/semver.c/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/h2non/semver.c/issues/7/comments","events_url":"https://api.github.com/repos/h2non/semver.c/issues/7/events","html_url":"https://github.com/h2non/semver.c/pull/7","id":102823525,"number":7,"title":"semver_test: free allocated memory","user":{"login":"stephenmathieson","id":571265,"avatar_url":"https://avatars.githubusercontent.com/u/571265?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenmathieson","html_url":"https://github.com/stephenmathieson","followers_url":"https://api.github.com/users/stephenmathieson/followers","following_url":"https://api.github.com/users/stephenmathieson/following{/other_user}","gists_url":"https://api.github.com/users/stephenmathieson/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenmathieson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenmathieson/subscriptions","organizations_url":"https://api.github.com/users/stephenmathieson/orgs","repos_url":"https://api.github.com/users/stephenmathieson/repos","events_url":"https://api.github.com/users/stephenmathieson/events{/privacy}","received_events_url":"https://api.github.com/users/stephenmathieson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-24T15:45:29Z","updated_at":"2015-08-24T16:23:33Z","closed_at":"2015-08-24T16:12:56Z","pull_request":{"url":"https://api.github.com/repos/h2non/semver.c/pulls/7","html_url":"https://github.com/h2non/semver.c/pull/7","diff_url":"https://github.com/h2non/semver.c/pull/7.diff","patch_url":"https://github.com/h2non/semver.c/pull/7.patch"},"body":"This patch just adds `semver_free(...)`s to the unit tests.  There are\r\nstill several memory/pointer issues, but this at least releases memory\r\nallocated by the tests."},"comment":{"url":"https://api.github.com/repos/h2non/semver.c/issues/comments/134285994","html_url":"https://github.com/h2non/semver.c/pull/7#issuecomment-134285994","issue_url":"https://api.github.com/repos/h2non/semver.c/issues/7","id":134285994,"user":{"login":"stephenmathieson","id":571265,"avatar_url":"https://avatars.githubusercontent.com/u/571265?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenmathieson","html_url":"https://github.com/stephenmathieson","followers_url":"https://api.github.com/users/stephenmathieson/followers","following_url":"https://api.github.com/users/stephenmathieson/following{/other_user}","gists_url":"https://api.github.com/users/stephenmathieson/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenmathieson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenmathieson/subscriptions","organizations_url":"https://api.github.com/users/stephenmathieson/orgs","repos_url":"https://api.github.com/users/stephenmathieson/repos","events_url":"https://api.github.com/users/stephenmathieson/events{/privacy}","received_events_url":"https://api.github.com/users/stephenmathieson/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T16:23:33Z","updated_at":"2015-08-24T16:23:33Z","body":"something that may help would be setting up travis to fail a build if a leak is introduced:\r\n\r\n```yml\r\n\r\nlanguage: c\r\nbefore_install:\r\n  - sudo apt-get update\r\n  - sudo apt-get install valgrind -qq\r\nscript:\r\n  - make test\r\n  - valgrind --leak-check=full --error-exitcode=1 ./test\r\n```"}}