]> 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)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 5 Jan 2015 19:51:02 +0000 (13:51 -0600)
commit289a0adf6658f2fd98e4d40172f4da201be55526
tree9e4ec50878465d4c53398e0dd96008467727a19d
parent589ff32653e4d58a62ce6792cb3591ee27060806
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