Esempio n. 1
0
static void deep_free_cc_creds (cred_union creds)
{
    if (creds.cred_type == CC_CRED_V4) {
	/* we shouldn't get this, of course */
	free (creds.cred.pV4Cred);
    } else if (creds.cred_type == CC_CRED_V5) {
	deep_free_cc_v5_creds (creds.cred.pV5Cred);
    }
}
Esempio n. 2
0
static void deep_free_cc_creds (cred_union creds)
{
    if (creds.cred_type == CC_CRED_V5) {
        deep_free_cc_v5_creds (creds.cred.pV5Cred);
    }
}