aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/filenames.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/filenames.c b/lib/filenames.c
index 50e14354..f078c955 100644
--- a/lib/filenames.c
+++ b/lib/filenames.c
@@ -79,6 +79,7 @@ _notmuch_filenames_create (const void *ctx,
return NULL;
filenames->iterator = list->head;
+ (void) talloc_reference (filenames, list);
return filenames;
}