{"action":"opened","issue":{"url":"https://api.github.com/repos/aerospike/aerospike-client-c/issues/83","repository_url":"https://api.github.com/repos/aerospike/aerospike-client-c","labels_url":"https://api.github.com/repos/aerospike/aerospike-client-c/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/aerospike/aerospike-client-c/issues/83/comments","events_url":"https://api.github.com/repos/aerospike/aerospike-client-c/issues/83/events","html_url":"https://github.com/aerospike/aerospike-client-c/issues/83","id":346360114,"node_id":"MDU6SXNzdWUzNDYzNjAxMTQ=","number":83,"title":"as_val_reserve not reference counting correctly","user":{"login":"khivi","id":387845,"node_id":"MDQ6VXNlcjM4Nzg0NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/387845?v=4","gravatar_id":"","url":"https://api.github.com/users/khivi","html_url":"https://github.com/khivi","followers_url":"https://api.github.com/users/khivi/followers","following_url":"https://api.github.com/users/khivi/following{/other_user}","gists_url":"https://api.github.com/users/khivi/gists{/gist_id}","starred_url":"https://api.github.com/users/khivi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khivi/subscriptions","organizations_url":"https://api.github.com/users/khivi/orgs","repos_url":"https://api.github.com/users/khivi/repos","events_url":"https://api.github.com/users/khivi/events{/privacy}","received_events_url":"https://api.github.com/users/khivi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-31T21:12:33Z","updated_at":"2018-07-31T21:12:33Z","closed_at":null,"author_association":"NONE","body":"```\r\n  as_bytes *byte_array = (as_bytes*)as_val_reserve(as_record_get_bytes(rec, bin_name.c_str()));\r\n  as_record_destroy(rec);\r\n // byte_array\r\n\r\n``\r\n\r\nCalling above 2 times on same big returns the same value for the byte_array pointer.\r\n\r\nFrom the documentation I assumed it was ref counted and a different as_bytes will be available."}}
{"actor":{"display_login":"khivi"}}