Removed some unnecessary null-checks for calls to g_free and g_strfreev

This commit is contained in:
Arnavion
2014-12-08 21:24:59 -08:00
parent b7afcc3632
commit 65da34f19e
10 changed files with 48 additions and 91 deletions

View File

@@ -1643,8 +1643,7 @@ parse_dh (char *str, DH **dh_out, unsigned char **secret_out, int *keysize_out)
return 1;
fail:
if (decoded_data)
g_free (decoded_data);
g_free (decoded_data);
return 0;
}