summaryrefslogtreecommitdiffstats
path: root/src/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/diff.c b/src/diff.c
index b2d33a7..7f97ba7 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -209,6 +209,8 @@ static int enumerate(DB *ddb, struct syrep_db_context *c1, struct syrep_db_conte
if (meta->last_seen != c1->version)
continue;
+ memset(&name, 0, sizeof(name));
+
if ((f = get_name_by_nrecno(c1, &id->nrecno, &name)) < 0)
return -1;