atom: fix stupid memory leak
This commit is contained in:
parent
57fb52dc1e
commit
552688b9a0
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ __always_inline int atom_get(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);
|
||||
|
|
Loading…
Reference in a new issue