]> git.sur5r.net Git - openldap/commitdiff
don't leak URL
authorPierangelo Masarati <ando@openldap.org>
Mon, 20 Aug 2007 22:24:48 +0000 (22:24 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 20 Aug 2007 22:24:48 +0000 (22:24 +0000)
tests/progs/slapd-tester.c

index 2ea4a1432f3bb48a7a3fafce7258545fa44d16e5..d24d3b9e4ee4248dfa454270fc1bcdf3b6117174 100644 (file)
@@ -960,6 +960,7 @@ get_search_filters( char *filename, char *filters[], char *attrs[], char *bases[
 
                                if ( lud->lud_dn == NULL || lud->lud_exts != NULL ) {
                                        filter = -filter - 1;
+                                       ldap_free_urldesc( lud );
                                        break;
                                }