]> git.sur5r.net Git - openldap/commit
ITS#5452,#8012: fix syncprov syncops freeing
authorLeo Yuriev <leo@yuriev.ru>
Sun, 4 Jan 2015 07:27:16 +0000 (07:27 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 4 Jan 2015 07:27:29 +0000 (07:27 +0000)
commit7c2951819fe924ce69413be58f64c501d60202c2
treebaa7d6235b2d8eee58ba365efb0517eb1d2d1d2b
parent0b2438fbecf56cc6dd91f5087e070b69fe58c378
ITS#5452,#8012: fix syncprov syncops freeing

Detaching a syncops record from op-list conditionally,
only when it was freed by syncprov_free_syncop.

The syncprov_free_syncop() and syncprov_drop_psearch() now
returns a flag, which is nonzero if the given syncops was freed.
servers/slapd/overlays/syncprov.c