]> git.sur5r.net Git - openldap/commitdiff
Plug memory leak.
authorKurt Zeilenga <kurt@openldap.org>
Sun, 21 Nov 1999 23:20:25 +0000 (23:20 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 21 Nov 1999 23:20:25 +0000 (23:20 +0000)
servers/slapd/back-bdb2/alias.c
servers/slapd/back-ldbm/alias.c

index 3de54b9bf0b3eb1c07d3553d4c46cc29a7d153e3..fe1bebc8187540f0486ec6eeed27e0ff0d58c63f 100644 (file)
@@ -204,6 +204,7 @@ Entry *bdb2i_deref_r(
        }
 
        free( dn );
+       charray_free( dnlist );
        return entry;
 }
 
index ccc68804e3c4ae894df99137ce7f24978ff7fe00..bb41e99aeb31733cde0242f2b6f3473c0629f20f 100644 (file)
@@ -205,6 +205,7 @@ Entry *deref_internal_r(
        }
 
        free( dn );
+       charray_free( dnlist );
        return entry;
 }