git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ovs-atomic: Add atomic_destroy() and use everywhere it is needed.
[sliver-openvswitch.git]
/
lib
/
lacp.c
diff --git
a/lib/lacp.c
b/lib/lacp.c
index
9eec1f9
..
2c17e22
100644
(file)
--- a/
lib/lacp.c
+++ b/
lib/lacp.c
@@
-259,6
+259,7
@@
lacp_unref(struct lacp *lacp) OVS_EXCLUDED(mutex)
hmap_destroy(&lacp->slaves);
list_remove(&lacp->node);
free(lacp->name);
+ atomic_destroy(&lacp->ref_cnt);
free(lacp);
ovs_mutex_unlock(&mutex);
}