diff options
-rw-r--r-- | src/otr/otr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/otr/otr.c b/src/otr/otr.c index 04678d04..21bb222e 100644 --- a/src/otr/otr.c +++ b/src/otr/otr.c @@ -375,9 +375,7 @@ otr_keygen(ProfAccount *account) return; } - if (jid) { - free(jid); - } + free(jid); jid = strdup(account->jid); log_info("Generating OTR key for %s", jid); |