atom: fix stupid memory leak

This commit is contained in:
anna 2021-08-02 17:21:56 +02:00
parent 57fb52dc1e
commit 552688b9a0
Signed by: fef
GPG key ID: EC22E476DC2D3D84

View file

@ -19,7 +19,7 @@ __always_inline int atom_get(atom_t *atom)
__always_inline int atom_put(atom_t *atom) __always_inline int atom_put(atom_t *atom)
{ {
return _atom_get(&atom->count); return _atom_put(&atom->count);
} }
int atom_count(atom_t *atom); int atom_count(atom_t *atom);