MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / Release

Method Release

view/sharedcache/core/refcountobject.h:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 virtual void AddRef() { m_refs.fetch_add(1); }
39
40 virtual void Release()
41 {
42 if (m_refs.fetch_sub(1) == 1)
43 delete this;
44 }
45
46 virtual void AddAPIRef() { AddRef(); }
47

Callers 1

refcountobject.hFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected