summaryrefslogtreecommitdiff
path: root/generate-cmdlist.sh
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2012-03-10 03:20:34 (GMT)
committerJonathan Nieder <jrnieder@gmail.com>2012-03-10 04:02:44 (GMT)
commitc27e559da5b26faa31858fe6dc5492d4f605b867 (patch)
treed90cfd2048f611a2b2dcffa9a174ce46e437d795 /generate-cmdlist.sh
parent8dc6a373d201839859fe7924b63e57526ee2fc22 (diff)
downloadgit-c27e559da5b26faa31858fe6dc5492d4f605b867.zip
git-c27e559da5b26faa31858fe6dc5492d4f605b867.tar.gz
git-c27e559da5b26faa31858fe6dc5492d4f605b867.tar.bz2
fast-import: leakfix for 'ls' of dirty trees
When the chosen directory has changed since it was last written to pack, "tree_content_get" makes a deep copy of its content to scribble on while computing the tree name, which we forgot to free. This leak has been present since the 'ls' command was introduced in v1.7.5-rc0~3^2~33 (fast-import: add 'ls' command, 2010-12-02). Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'generate-cmdlist.sh')
0 files changed, 0 insertions, 0 deletions