unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* proposed fix for memory leak in notmuch restore
@ 2012-12-16 20:16 david
  2012-12-16 20:16 ` [PATCH 1/3] tag-utils: use the tag_opt_list_t as talloc context, if possible david
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: david @ 2012-12-16 20:16 UTC (permalink / raw)
  To: notmuch

In id:87vcc2q5n2.fsf@nikula.org, Jani points out a memory leak in the
new restore code.  This series is a proposed fix, namely do any
allocation on a temporary talloc context that is destroyed after each
line is processed.

^ permalink raw reply	[flat|nested] 6+ messages in thread
* v2 restore leak fix 
@ 2012-12-17  3:59 david
  2012-12-17  3:59 ` [PATCH 3/3] notmuch-restore: allocate a temporary talloc context for each line parsed david
  0 siblings, 1 reply; 6+ messages in thread
From: david @ 2012-12-17  3:59 UTC (permalink / raw)
  To: notmuch

This obsoletes 

     id:1355688997-19164-1-git-send-email-david@tethera.net

Actually the first patch in the series is now an unrelated bug fix, 
since it isn't needed anymore for 2 and 3.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-12-17  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-16 20:16 proposed fix for memory leak in notmuch restore david
2012-12-16 20:16 ` [PATCH 1/3] tag-utils: use the tag_opt_list_t as talloc context, if possible david
2012-12-16 20:16 ` [PATCH 2/3] notmuch-restore: replace continue with if david
2012-12-16 20:16 ` [PATCH 3/3] notmuch-restore: allocate a temporary talloc context for each line parsed david
2012-12-16 22:41   ` Jani Nikula
  -- strict thread matches above, loose matches on Subject: below --
2012-12-17  3:59 v2 restore leak fix david
2012-12-17  3:59 ` [PATCH 3/3] notmuch-restore: allocate a temporary talloc context for each line parsed david

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).