]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10543 slapd-read: plug leak master
authorHoward Chu <hyc@openldap.org>
Mon, 20 Jul 2026 14:22:14 +0000 (15:22 +0100)
committerHoward Chu <hyc@openldap.org>
Mon, 20 Jul 2026 14:22:14 +0000 (15:22 +0100)
tests/progs/slapd-read.c

index 73a290b960446f1238fff454effd98092e25f41c..c69f2d7a7442c194faf0870249fd1282d11acdf8 100644 (file)
@@ -228,7 +228,7 @@ do_random( struct tester_conn_args *config, char *sbase, char *filter,
                        do_read( config, values[ r ], &ld,
                                srchattrs, noattrs, nobind, 1, force );
                }
-               free( values );
+               ldap_charray_free( values );
                break;
 
        default: