Check for non-NULL

This commit is contained in:
Miguel de Icaza 1999-01-29 03:23:03 +00:00
parent f2197f6bc2
commit 934c79cfe3

View File

@ -146,6 +146,9 @@ void
wipe_password (char *passwd)
{
char *p = passwd;
if (p == NULL)
return;
for (;*p; p++)
*p = 0;