]> git.notmuchmail.org Git - notmuch/commit
notmuch_filenames_create: Take a reference to underlying filename list
authorCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 11:36:13 +0000 (03:36 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 11:40:19 +0000 (03:40 -0800)
commit8480a0a00370f997a29ebf98560a799ece43d3f4
treec4fe78d5832ee6f3f00ec6ab75bc5bc859a18ac0
parent404db1de90f6e5a66c34077b38b18a39c955ece2
notmuch_filenames_create: Take a reference to underlying filename list

The notmuch_filenames_t object might easily outlive the original object
owning the filename list. So take a talloc reference to keep things safe.
lib/filenames.c