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

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