From: Hallvard Furuseth Date: Sat, 26 Dec 1998 09:55:09 +0000 (+0000) Subject: Reset *modtail after freeing it, so it's not freed again X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~870 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c89fab6acca61316fc8ee49909d27e101a288c55;p=openldap Reset *modtail after freeing it, so it's not freed again --- diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 7c18f43c4a..692d4fbe4f 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -87,6 +87,7 @@ do_modify( free( dn ); free( odn ); free( *modtail ); + *modtail = NULL; modlist_free( modlist ); return; }