sierra: fix possible double-free

Need to reset password to NULL after freeing it.
This commit is contained in:
Dan Williams
2011-08-02 16:58:26 -05:00
parent eb2d14ab4a
commit da57b9a0eb

View File

@@ -639,7 +639,7 @@ clear_user_pass (MMModemSierraGsm *self)
g_free (priv->username);
priv->username = NULL;
g_free (priv->password);
priv->username = NULL;
priv->password = NULL;
}
static void