trivial: let g_free and g_strdup handle NULL (bgo #644763)

This commit is contained in:
Kjartan Maraas
2011-03-15 00:08:58 -05:00
committed by Dan Williams
parent 925f21f7c2
commit b224ab8e56
18 changed files with 28 additions and 55 deletions

View File

@@ -470,8 +470,7 @@ eap_ttls_reader (const char *eap_method,
done:
if (list)
g_strfreev (list);
if (inner_auth)
g_free (inner_auth);
g_free (inner_auth);
return success;
}