Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am andoma on github.
* I am andoma (https://keybase.io/andoma) on keybase.
* I have a public key ASDpB8V9FD0tsYMHR2AunTGX1xHIb5sZ2SiAL9u0wCb-5Ao
To claim this, I am signing this object:
void
foo_release(foo *f)
{
if(atomic_dec(&f->rercount))
return;
free(f);
}