]> git.sur5r.net Git - openldap/commitdiff
Reset *modtail after freeing it, so it's not freed again
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 26 Dec 1998 09:55:09 +0000 (09:55 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 26 Dec 1998 09:55:09 +0000 (09:55 +0000)
servers/slapd/modify.c

index 7c18f43c4a70543c322b7b21dbf259d89e1ccdfa..692d4fbe4fb584e3d35ee650c9d60ea904dbf1aa 100644 (file)
@@ -87,6 +87,7 @@ do_modify(
                        free( dn );
                        free( odn );
                        free( *modtail );
+                       *modtail = NULL;
                        modlist_free( modlist );
                        return;
                }