On Tue, 7 Feb 2012 05:05:03 -0500, Ethan Glasser-Camp <glasse at cs.rpi.edu> wrote: > From: Ethan Glasser-Camp <ethan at betacantrips.com> > > scandir() returns "strings allocated via malloc(3)" which are then > "collected in array namelist which is allocated via > malloc(3)". Currently we just free the array namelist. Instead, free > all the entries of namelist, and then free namelist. > > entry only points to elements of namelist, so we don't free it > separately. > ---
+1 Tomi -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120207/a7f80825/attachment.pgp>
