trivial: let g_free and g_strdup handle NULL (bgo #644763)
This commit is contained in:

committed by
Dan Williams

parent
925f21f7c2
commit
b224ab8e56
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user