diff options
Diffstat (limited to 'src/config/account.c')
-rw-r--r-- | src/config/account.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/account.c b/src/config/account.c index 0c23c585..84d88e64 100644 --- a/src/config/account.c +++ b/src/config/account.c @@ -57,6 +57,7 @@ account_new(const gchar *const name, const gchar *const jid, const char *const theme, gchar *tls_policy) { ProfAccount *new_account = malloc(sizeof(ProfAccount)); + memset(new_account, 0, sizeof(ProfAccount)); new_account->name = strdup(name); |