talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit deb164157879263fa2c12607f5b538bb4256dd83
parent afd8acf920272f1590fd6f5e441a27e2ac0f0678
Author: Ricardo Mones <ricardo@mones.org>
Date:   Sun, 12 May 2024 21:30:22 +0200

Fix CID 1591952: values overwritten before being used

Diffstat:
Msrc/exportldif.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/exportldif.c b/src/exportldif.c @@ -459,7 +459,6 @@ static gboolean exportldif_fmt_person( ldif_write_value( stream, LDIF_TAG_LASTNAME, sn ); g_free(sn); - sn = NULL; ldif_write_value( stream, LDIF_TAG_FIRSTNAME, person->firstName ); @@ -469,7 +468,6 @@ static gboolean exportldif_fmt_person( displayName = g_strdup(person->nickName); ldif_write_value(stream, LDIF_TAG_NICKNAME, displayName); g_free(displayName); - displayName = NULL; /* Format E-Mail */ exportldif_fmt_email( person, stream );