mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 07:39:35 -05:00
ITS#9983 Also fix c_refcnt sequencing
This commit is contained in:
parent
0df9d9156a
commit
e6e42642ca
1 changed files with 1 additions and 1 deletions
|
|
@ -422,8 +422,8 @@ struct LloadConnection {
|
||||||
#define CONNECTION_UNLINK_(c) \
|
#define CONNECTION_UNLINK_(c) \
|
||||||
do { \
|
do { \
|
||||||
if ( __atomic_exchange_n( &(c)->c_live, 0, __ATOMIC_ACQ_REL ) ) { \
|
if ( __atomic_exchange_n( &(c)->c_live, 0, __ATOMIC_ACQ_REL ) ) { \
|
||||||
RELEASE_REF( (c), c_refcnt, c->c_destroy ); \
|
|
||||||
(c)->c_unlink( (c) ); \
|
(c)->c_unlink( (c) ); \
|
||||||
|
RELEASE_REF( (c), c_refcnt, c->c_destroy ); \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
#define CONNECTION_DESTROY(c) \
|
#define CONNECTION_DESTROY(c) \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue