Mercurial > pidgin.yaz
changeset 18949:8902f0d7e40f
- Use g_new0 instead of g_new
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Tue, 26 Jun 2007 01:04:45 +0000 |
parents | 22838745420a |
children | f78a9efa9eaf |
files | libpurple/certificate.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/certificate.c Mon Jun 25 21:38:40 2007 +0000 +++ b/libpurple/certificate.c Tue Jun 26 01:04:45 2007 +0000 @@ -61,7 +61,7 @@ ((PurpleCertificate *) (cert_chain->data))->scheme); /* Construct and fill in the request fields */ - vrq = g_new(PurpleCertificateVerificationRequest, 1); + vrq = g_new0(PurpleCertificateVerificationRequest, 1); vrq->verifier = verifier; vrq->scheme = scheme; vrq->subject_name = g_strdup(subject_name);