diff options
Diffstat (limited to '')
-rw-r--r-- | gpgme/recipient.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gpgme/recipient.c b/gpgme/recipient.c index 43d36987..02438e47 100644 --- a/gpgme/recipient.c +++ b/gpgme/recipient.c @@ -57,6 +57,9 @@ gpgme_recipients_add_name (GpgmeRecipients rset, const char *name ) r = xtrymalloc ( sizeof *r + strlen (name) ); if (!r) return mk_error (Out_Of_Core); + r->name_part = ""; + r->email_part = ""; + r->comment_part = ""; strcpy (r->name, name ); r->next = rset->list; rset->list = r; |