]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#6467 Free uuid list after we're finished
authorOndřej Kuzník <ondra@mistotebe.net>
Tue, 1 Jun 2021 12:56:58 +0000 (13:56 +0100)
committerOndřej Kuzník <ondra@mistotebe.net>
Thu, 3 Jun 2021 09:22:14 +0000 (10:22 +0100)
servers/slapd/overlays/syncprov.c

index 8504012a6382e7fde81c0a98a422f3d6d6bfb232..02ba327dee1edf43870611a3d04f0017f53a3df5 100644 (file)
@@ -2334,6 +2334,7 @@ syncprov_play_accesslog( Operation *op, SlapReply *rs, sync_control *srs,
 
        rc = fop.o_bd->be_search( &fop, &frs );
 
+       ldap_avl_free( uuid_progress.uuids, NULL );
        fop.o_tmpfree( uuid_progress.uuid_buf, fop.o_tmpmemctx );
        fop.o_tmpfree( uuid_progress.uuid_list, fop.o_tmpmemctx );
        fop.o_tmpfree( fop.ors_filterstr.bv_val, fop.o_tmpmemctx );