forked from PsychoticNinja/ailin-nemui-irssi
Merge pull request #1076 from l2dy/gfree
Free g_strdup() allocated memory with g_free() (cherry picked from commit 7e767e144409f8f86172740c8d0e2a66a6a4a286)
This commit is contained in:
parent
e8457188ce
commit
b114201b7b
@ -226,7 +226,7 @@ static gboolean irssi_ssl_verify_hostname(X509 *cert, const char *hostname)
|
|||||||
} else {
|
} else {
|
||||||
g_warning("No subjectAltNames and no valid common name in certificate");
|
g_warning("No subjectAltNames and no valid common name in certificate");
|
||||||
}
|
}
|
||||||
free(cert_subject_cn);
|
g_free(cert_subject_cn);
|
||||||
}
|
}
|
||||||
|
|
||||||
return matched;
|
return matched;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user