author | Jonathan Nieder <jrnieder@gmail.com> | |
Sun, 21 Mar 2010 02:01:20 +0000 (21:01 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 21 Mar 2010 02:25:48 +0000 (19:25 -0700) | ||
commit | 28db756feead84929cdfaaee8bccd301384daab4 | |
tree | 9b37553d3d40a0d238cd4ce10e47a96f03d9d920 | tree | snapshot |
parent | 8e75abfd8dc6649d800b8877304eaa0fd404c10f | commit | diff |
revert: fix tiny memory leak in cherry-pick --ff
We forgot to free defmsg when returning early for a fast-forward.
Fixing this should reduce noise during test suite runs with valgrind.
More importantly, once cherry-pick learns to pick multiple commits,
the amount of memory leaked would start to add up.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
We forgot to free defmsg when returning early for a fast-forward.
Fixing this should reduce noise during test suite runs with valgrind.
More importantly, once cherry-pick learns to pick multiple commits,
the amount of memory leaked would start to add up.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-revert.c | diff | blob | history |