commit | 3907a4078a89cffde2e2e0e61a3bd41efba96c49 | [log] [tgz] |
---|---|---|
author | Jeff King <peff@peff.net> | Sat Sep 13 16:19:38 2014 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Sep 15 11:39:54 2014 -0700 |
tree | bd5ad6621db53131f3e3362b1f5a0fe21256594b | |
parent | d38379ece9216735ecc0ffd76c4c4e3da217daec [diff] |
server-info: clean up after writing info/packs We allocate pack information in a static global list but never clean it up. This leaks memory, and means that calling update_server_info twice will generate a buggy file (it will have duplicate entries). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>