From: Pierangelo Masarati Date: Sat, 30 Mar 2002 08:44:29 +0000 (+0000) Subject: do not return a pointer to an automatic variable in case of success X-Git-Tag: OPENLDAP_REL_ENG_2_MP~283 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=031991e0b4dc5c1bd64786372923f00bec53c661;p=openldap do not return a pointer to an automatic variable in case of success --- diff --git a/servers/slapd/back-bdb/passwd.c b/servers/slapd/back-bdb/passwd.c index a47cf180bc..a05f22146c 100644 --- a/servers/slapd/back-bdb/passwd.c +++ b/servers/slapd/back-bdb/passwd.c @@ -216,6 +216,7 @@ retry: /* transaction retry */ *text = NULL; goto retry; case 0: + *text = NULL; break; default: rc = LDAP_OTHER;