git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Freeing struct lock_file?
@ 2015-04-03 21:45 David Turner
  2015-04-03 22:01 ` Junio C Hamano
  0 siblings, 1 reply; 9+ messages in thread
From: David Turner @ 2015-04-03 21:45 UTC (permalink / raw)
  To: git mailing list

Why is it impossible to free struct lock_files?  I understand that they
become part of a linked list, and that there's an atexit handler that
goes over that list.  But couldn't we just remove them from the linked
list and then free them?  Even if we couldn't free all lock_files, maybe
we could free some?  Anyway, just curious why that decision was made.

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

end of thread, other threads:[~2015-04-07  1:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-03 21:45 Freeing struct lock_file? David Turner
2015-04-03 22:01 ` Junio C Hamano
2015-04-04  0:24   ` David Turner
2015-04-04  7:16     ` Torsten Bögershausen
2015-04-06 18:02       ` David Turner
2015-04-04 19:04     ` C99 (Was: Re: Freeing struct lock_file?) brian m. carlson
2015-04-04 20:06       ` C99 Junio C Hamano
2015-04-04 20:36         ` C99 brian m. carlson
2015-04-07  1:12   ` Freeing struct lock_file? David Turner

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 NNTP newsgroup(s).