]> git.sur5r.net Git - openldap/commitdiff
Missed a bei_rdn in prev commit
authorHoward Chu <hyc@openldap.org>
Tue, 22 Apr 2003 20:35:29 +0000 (20:35 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 22 Apr 2003 20:35:29 +0000 (20:35 +0000)
servers/slapd/back-bdb/cache.c

index b3dbd63eaa44ab97dd4a2736a4107598f02f25b8..d18b7e57964374ae6f019a1bf7d0b32ad2a5ed94 100644 (file)
@@ -137,6 +137,9 @@ bdb_cache_entryinfo_destroy( EntryInfo *e )
 {
        ldap_pvt_thread_mutex_destroy( &e->bei_kids_mutex );
        free( e->bei_nrdn.bv_val );
+#ifdef BDB_HIER
+       free( e->bei_rdn.bv_val );
+#endif
        free( e );
        return 0;
 }